CVE-2022-36056
MEDIUM 5.5CVSS 3.1Cosign bundle can be crafted to successfully verify a blob even if the embedded rekorBundle does not reference the given signature
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.
- Published
- 14 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- BIT-cosign-2022-36056GHSA-8gw7-4j42-w388GO-2022-0998
- Sources
- NVDJSONOSV GHSA-8gw7-4j42-w388JSONOSV GO-2022-0998JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sigstore | cosigncpe:2.3:a:sigstore:cosign:*:*:*:*:*:*:*:* |
< 1.12.0 | 1.12.0 |
| OSV | Go | github.com/sigstore/cosign | < 1.12.0 | 1.12.0 |
References
- https://github.com/sigstore/cosign/commit/80b79ed8b4d28ccbce3d279fd273606b5cddcc25 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/sigstore/cosign/security/advisories/GHSA-8gw7-4j42-w388 · Exploit, Mitigation, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-36056 · ADVISORY
- https://github.com/sigstore/cosign · PACKAGE
- https://github.com/sigstore/cosign/releases/tag/v1.12.0 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 14 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Nov 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Sep 2022)