CVE-2022-36056

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability4. percentile0.2%
ProductSigstore Cosign
PublishedSep 14, 2022
First seenSep 14, 2022
Weakness typeCWE-347CWE-347

How to fix

Update
  • sigstore cosign1.12.0 or later
  • github.com/sigstore/cosign1.12.0 or later

Affected products

ProductAffected versionsFixed in
sigstore cosignv < 1.12.01.12.0
github.com/sigstore/cosignGov < 1.12.01.12.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.