CVEfocus › CVE database › CVE-2022-36056

CVE-2022-36056Vulnerabilities with blob verification in sigstore cosign

CVSS 5.5 MediumEPSS 0.2% (higher than 4% of CVEs)Published 2022-09-14Updated 2025-04-22Assigner: GitHub_M

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.

CWE-347

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

9Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.24cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Alpine Linux 3.23cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Alpine Linux 3.22cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Alpine Linux 3.21cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Alpine Linux 3.20cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Alpine Linux 3.19cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Alpine Linux 3.18cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Alpine Linux 3.17cosignFixed1.12.1-r0ALPINE-CVE-2022-36056
Go librarygithub.com/sigstore/cosignFixed1.12.0GHSA-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.

References

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.