CVE-2022-36056Vulnerabilities with blob verification in sigstore cosign
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.
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Alpine Linux 3.23 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Alpine Linux 3.22 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Alpine Linux 3.21 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Alpine Linux 3.20 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Alpine Linux 3.19 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Alpine Linux 3.18 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Alpine Linux 3.17 | cosign | Fixed | 1.12.1-r0 | ALPINE-CVE-2022-36056 |
| Go library | github.com/sigstore/cosign | Fixed | 1.12.0 | GHSA-8gw7-4j42-w388 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sigstore cosign: affected: < 1.12.0
References
- https://github.com/sigstore/cosign/security/advisories/GHSA-8gw7-4j42-w388
- https://github.com/sigstore/cosign/commit/80b79ed8b4d28ccbce3d279fd273606b5cddcc25
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.