SCA: security update for github.com/distribution/distribution/v3 (GHSA-phw4-mc57-4hwc)

high Tenable Self-Hosted Container Security Plugin ID 420870

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-24976)

See Also

https://github.com/advisories/GHSA-phw4-mc57-4hwc

Plugin Details

Severity: High

ID: 420870

Version: Revision 1.16

Type: Local

Family: SCA Checks

Published: 2/11/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.2

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2025-24976

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/11/2025

Vulnerability Publication Date: 2/11/2025

Reference Information

CVE: CVE-2025-24976

cwe: CWE-639