CVE-2025-24882 regclient may ignore pinned manifest digests
Medium 5.2
Published
Updated
Check this codebase for CVE-2025-24882 and fix it if it is affected.
What it is: CVE-2025-24882 is a medium-severity vulnerability in regclient, published on 29 Jan 2025.
Exploitation: There is no known exploitation of CVE-2025-24882 in the wild and no public exploit code.
Affected packages and fixed versions:
- github.com/regclient/regclient (Go): affected all versions; fixed in 0.7.1
- github.com/regclient/regclient (Go): affected all versions; fixed in 0.7.1
- github.com/regclient/regclient (Go): affected all versions; fixed in 0.7.1
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/CVE-2025-24882/ (Markdown: https://insights.sbomify.com/CVE-2025-24882/index.md)
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2025-24882?
CVE-2025-24882 is a medium-severity vulnerability in regclient, published on 29 Jan 2025.
Official description
regclient is a Docker and OCI Registry Client in Go. A malicious registry could return a different digest for a pinned manifest without detection. This vulnerability is fixed in 0.7.1.
Which versions are affected by CVE-2025-24882?
3 open source packages ship an affected version, including github.com/regclient/regclient.
| Package | Affected | Fixed in |
|---|---|---|
github.com/regclient/regclient Go | All versions | 0.7.1 |
github.com/regclient/regclient Go | All versions | 0.7.1 |
github.com/regclient/regclient Go | All versions | 0.7.1 |
How do I fix CVE-2025-24882?
Upgrade github.com/regclient/regclient to 0.7.1 or later.
Is CVE-2025-24882 being exploited?
There is no known exploitation of CVE-2025-24882 in the wild and no public exploit code.
Sources
Also known as GHSA-qv35-3gw6-8q4j, GO-2024-3038.