Sigstore @sigstore/oci: Credential leak to cross-host blob upload location
The @sigstore/oci library of sigstore-js sends registry Authorization headers, Docker configuration headers or Basic credentials to an upload location supplied by the registry, without checking that it matches the registry's origin. A malicious or compromised registry can redirect a user pushing an artifact via attachArtifactToImage() to an attacker-controlled host and obtain the bearer token or credentials. The attack requires the victim to push an artifact and a malicious or compromised registry; the impact is limited to confidentiality.
Sigstore · sigstore-js (@sigstore/oci)
