All the vulnerabilites related to distribution - distribution
cve-2025-24976
Vulnerability from cvelistv5
Published
2025-02-11 15:48
Modified
2025-02-12 20:51
Severity ?
EPSS score ?
Summary
Distribution's token authentication allows attacker to inject an untrusted signing key in a JWT
References
▼ | URL | Tags |
---|---|---|
https://github.com/distribution/distribution/security/advisories/GHSA-phw4-mc57-4hwc | x_refsource_CONFIRM | |
https://github.com/distribution/distribution/commit/5ea9aa028db65ca5665f6af2c20ecf9dc34e5fcd | x_refsource_MISC |
Impacted products
▼ | Vendor | Product |
---|---|---|
distribution | distribution |
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2025-24976", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2025-02-11T16:00:59.994996Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-02-12T20:51:44.516Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "distribution", "vendor": "distribution", "versions": [ { "status": "affected", "version": "\u003e= 3.0.0-beta.1, \u003c= 3.0.0-rc.2" } ] } ], "descriptions": [ { "lang": "en", "value": "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\u0027t verify that the actual key material matches. A fix for the issue is available at commit 5ea9aa028db65ca5665f6af2c20ecf9dc34e5fcd and expected to be a part of version 3.0.0-rc.3. There is no way to work around this issue without patching if the system requires token authentication." } ], "metrics": [ { "cvssV4_0": { "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "NETWORK", "baseScore": 6.6, "baseSeverity": "MEDIUM", "privilegesRequired": "NONE", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U", "version": "4.0", "vulnAvailabilityImpact": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "HIGH" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-639", "description": "CWE-639: Authorization Bypass Through User-Controlled Key", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-02-11T15:48:59.700Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/distribution/distribution/security/advisories/GHSA-phw4-mc57-4hwc", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/distribution/distribution/security/advisories/GHSA-phw4-mc57-4hwc" }, { "name": "https://github.com/distribution/distribution/commit/5ea9aa028db65ca5665f6af2c20ecf9dc34e5fcd", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/distribution/distribution/commit/5ea9aa028db65ca5665f6af2c20ecf9dc34e5fcd" } ], "source": { "advisory": "GHSA-phw4-mc57-4hwc", "discovery": "UNKNOWN" }, "title": "Distribution\u0027s token authentication allows attacker to inject an untrusted signing key in a JWT" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2025-24976", "datePublished": "2025-02-11T15:48:59.700Z", "dateReserved": "2025-01-29T15:18:03.211Z", "dateUpdated": "2025-02-12T20:51:44.516Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }