Vulnerabilities with blob verification in sigstore cosign
Description
Cosign is a project under the sigstore organization which aims to make signatures invisible infrastructure. In versions prior to 1.12.0 a number of vulnerabilities have been found in cosign verify-blob, where Cosign would successfully verify an artifact when verification should have failed. First a cosign bundle can be crafted to successfully verify a blob even if the embedded rekorBundle does not reference the given signature. Second, when providing identity flags, the email and issuer of a certificate is not checked when verifying a Rekor bundle, and the GitHub Actions identity is never checked. Third, providing an invalid Rekor bundle without the experimental flag results in a successful verification. And fourth an invalid transparency log entry will result in immediate success for verification. Details and examples of these issues can be seen in the GHSA-8gw7-4j42-w388 advisory linked. Users are advised to upgrade to 1.12.0. There are no known workarounds for these issues.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/sigstore/cosignGo | < 1.12.0 | 1.12.0 |
Affected products
6- osv-coords5 versionspkg:bitnami/cosignpkg:golang/github.com/sigstore/cosignpkg:rpm/opensuse/cosign&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/cosign&distro=openSUSE%20Tumbleweedpkg:rpm/suse/cosign&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4
< 1.12.0+ 4 more
- (no CPE)range: < 1.12.0
- (no CPE)range: < 1.12.0
- (no CPE)range: < 1.12.0-150400.3.6.1
- (no CPE)range: < 1.12.0-1.1
- (no CPE)range: < 1.12.0-150400.3.6.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-8gw7-4j42-w388ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-36056ghsaADVISORY
- github.com/sigstore/cosign/commit/80b79ed8b4d28ccbce3d279fd273606b5cddcc25ghsax_refsource_MISCWEB
- github.com/sigstore/cosign/releases/tag/v1.12.0ghsaWEB
- github.com/sigstore/cosign/security/advisories/GHSA-8gw7-4j42-w388ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.