Cosign's verify-blob-attestation reports false positive when payload parsing fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/sigstore/cosign/v2 2.6.3 and github.com/sigstore/cosign/v3 3.0.6.
Cosign provides code signing and transparency for containers and binaries. Prior to 3.0.6 and 2.6.3, cosign verify-blob-attestation may erroneously report a "Verified OK" result for attestations with malformed payloads or mismatched predicate types. For old-format bundles and detached signatures, this was due to a logic flaw in the error handling of the predicate type validation. For new-format bundles, the predicate type validation was bypassed completely. This vulnerability is fixed in 3.0.6 and 2.6.3.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| sigstore | <2.6.3, >=3.0.0 <3.0.6 | ||
| go: github.com/sigstore/cosign | <=1.13.6 | ||
| go: github.com/sigstore/cosign/v2 | <2.6.3 | 2.6.3 | |
| go: github.com/sigstore/cosign/v3 | >=3.0.0 <3.0.6 | 3.0.6 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket