Vulnerability
CVE-2025-24976
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 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.
90 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-23pc-9j8r-hh39
- CGA-249h-5w82-g6f7
- CGA-28x4-97m5-8pp8
- CGA-28xr-5g5v-mmjc
- CGA-2cc5-m6gv-fv94
- CGA-2f3h-xwfc-78f6
- CGA-2jhv-qx6p-688q
- CGA-2r7f-v7hx-76x5
- CGA-33w8-8fc8-m3fc
- CGA-3579-h84h-pp9w
- CGA-37cr-p89x-p4h6
- CGA-3v3v-v8vr-724m
- CGA-3x4q-8f3f-4464
- CGA-3xg8-3p83-x854
- CGA-42j5-2458-xp6g
- CGA-46r5-273v-g8hj
- CGA-4g33-2753-gv8q
- CGA-5532-5mqj-mvr2
- CGA-5ch8-xq4c-wjfp
- CGA-5j7w-9wgh-c9x3
- CGA-5jcc-mc66-qv99
- CGA-6ppp-86gj-phg9
- CGA-6r83-9p8x-r8h5
- CGA-722c-mhvg-pj6p
- CGA-78x8-46hq-ff9p
- CGA-7pq7-pwc5-4x79
- CGA-896r-w4mf-c4r6
- CGA-8g9m-8j43-7w45
- CGA-8hmw-q4hp-hq33
- CGA-924g-w7rm-9fg4
- CGA-93pr-mxfq-4hcj
- CGA-94v4-3f2x-j4w5
- CGA-96m9-j44f-m4wr
- CGA-9w83-fj6f-r5mf
- CGA-ccg4-mgq7-6hxw
- CGA-cg2p-m7px-557p
- CGA-ch73-9f2j-8q75
- CGA-cjgg-cvh6-8m2p
- CGA-cmqg-j9x2-6v5m
- CGA-cwh2-469f-r825
- CGA-f228-hrxg-pggh
- CGA-f637-4vx9-w4rw
- CGA-f8hp-55wr-3558
- CGA-f9p9-m5qq-3q94
- CGA-fcrx-6jpp-6rvg
- CGA-fm24-7p6w-q7g6
- CGA-fr75-8vcw-37f3
- CGA-gwph-4q5h-4m4w
- CGA-gxgw-5gf5-85jf
- CGA-h6cg-h7wg-cpjg
- CGA-hh5p-mfc6-953g
- CGA-hpqp-vvwc-3722
- CGA-hrjf-2rv9-2q88
- CGA-hw4c-m3w3-57vm
- CGA-jqr3-6h67-mfvp
- CGA-jx6v-46m2-xmhr
- CGA-m2cx-h5rv-4w8g
- CGA-m3x9-wc86-3pfg
- CGA-m4j5-5pfp-95cw
- CGA-m6qx-6j2h-59pw
- CGA-mjc9-fh2q-qv3p
- CGA-mm34-hf5r-c2cr
- CGA-p4wg-jxjr-rc8g
- CGA-p8xq-mxrc-6gq8
- CGA-ppc7-cm79-6c5x
- CGA-pxhq-2v84-pq4r
- CGA-q28g-jxc5-74pp
- CGA-qg33-8fpj-7qvf
- CGA-qhf6-r9f3-xc9v
- CGA-qpcv-76gq-jc3c
- CGA-qqf6-m248-32h3
- CGA-qv8h-52x6-rw57
- CGA-qxhc-gcp9-7r43
- CGA-r5gm-v5qq-rg7c
- CGA-r5xr-54xp-pj37
- CGA-r737-mvcg-g45j
- CGA-r8rp-7g8q-8m3v
- CGA-rrr4-9p94-wh92
- CGA-vj4p-hvxp-pjfq
- CGA-vvhm-j8w4-jw7x
- CGA-wjp2-cjmf-65rf
- CGA-wq9m-v82m-mjjm
- CGA-wqmr-rpxw-8cmw
- CGA-wx9p-8p67-pc6g
- CGA-xcvc-xr32-9hf7
- CGA-xffh-8hq6-pgf2
- CGA-xjmj-7mmv-qj88
- CGA-xwmj-5w44-ggm7
-
GO-2025-3460
Distribution's token authentication allows attacker to inject an untrusted signing key in a JWT in github.com/distribution/distribution
-
openSUSE-SU-2025:14889-1
govulncheck-vulndb-0.0.20250312T181707-1.1 on GA media