Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/distribution/distribution: CVE-2025-24976 #3460

Open
GoVulnBot opened this issue Feb 11, 2025 · 0 comments

Comments

@GoVulnBot
Copy link

Advisory CVE-2025-24976 references a vulnerability in the following Go modules:

Module
github.com/distribution/distribution

Description:
Distribution is a toolkit to pack, ship, store, and deliver container content. Systems running registry versions 3.0.0-beta.1 through 3.0.0-rc.2 with token authentication enabled may be vulnerable to an issue in which token authentication allows an attacker to inject an untrusted signing key in a JSON web token (JWT). The issue lies in how the JSON web key (JWK) verification is performed. When a JWT contains a JWK header without a certificate chain, the code only checks if the KeyID (kid) matches one of the trusted keys, but doesn't verify that the actual key material matches. A fix for the ...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/distribution/distribution
      vulnerable_at: 2.8.3+incompatible
summary: CVE-2025-24976 in github.com/distribution/distribution
cves:
    - CVE-2025-24976
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-24976
    - fix: https://github.com/distribution/distribution/commit/5ea9aa028db65ca5665f6af2c20ecf9dc34e5fcd
    - web: https://github.com/distribution/distribution/security/advisories/GHSA-phw4-mc57-4hwc
source:
    id: CVE-2025-24976
    created: 2025-02-11T17:01:32.4923036Z
review_status: UNREVIEWED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants