Go Vulnerability Database
GO-2022-0326
Improper certificate validation in github.com/sigstore/cosign
Details
Cosign can be manipulated to claim that an entry for a signature in the OCI registry exists in the Rekor transparency log even if it does not. This requires the attacker to have pull and push permissions for the signature in OCI. This can happen with both standard signing with a keypair and "keyless signing" with Fulcio certificate authority.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/sigstore/cosign | All versions before 1.5.2 (fixed in 1.5.2) |