VDB
KO
MEDIUM 5.8

GHSA-698x-9w2p-7vvp

Claircore: Unauthenticated attackers can submit manifests with URIs pointing to internal services or cloud metadata endpoints

Details

A flaw was found in Clair. The fetcher component makes outbound HTTP requests to attacker-supplied URIs from manifest layer descriptors without IP or scheme filtering. When PSK authentication is not configured (opt-in, not enforced by default), an unauthenticated attacker can submit a manifest with a URI pointing to internal services or cloud metadata endpoints. The SSRF is reflective for non-200 responses, leaking up to 256 bytes of error body content via CheckResponse error messages. Operator-managed Red Hat Quay deployments auto-configure PSK and are not exposed to the unauthenticated attack vector.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/quay/claircore
Introduced in: 0

No fixed version published yet for github.com/quay/claircore (go modules). Pin to a known-safe version or switch to an alternative.

References