Impact
The flaw in oras-go’s auth.Client permits an attacker to manipulate the realm URL in a registry’s WWW‑Authenticate: Bearer challenge. By providing a malicious or spoofed realm, an external registry or a man‑in‑the‑middle can cause the client to make internal network requests, resulting in server‑side request forgery (SSRF). The same vulnerability can downgrade the TLS connection, allowing credentials to be transmitted in plain text, which can lead to exfiltration of credentials and refresh tokens.
Affected Systems
The vulnerability affects all releases of oras-go earlier than v2.6.1. The ORAS project distributes the client for managing OCI artifacts, and any installation that has not applied the patch released in v2.6.1 is vulnerable.
Risk and Exploitability
The CVSS score of 2.1 indicates a low overall severity, and the EPSS suggests a very low but nonzero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit it by posing as a registry and providing a malicious realm challenge, which triggers the client to issue internal requests to endpoints such as the metadata service or local network addresses, potentially leaking sensitive credentials or refresh tokens.
OpenCVE Enrichment
Github GHSA