SecurityContext

CVE-2022-36056: Cosign - Authentication Bypass

  • Cve: CVE-2022-36056
  • Name: Cosign - Authentication Bypass
  • 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.
  • Impact: Attackers can bypass signature verification, potentially leading to acceptance of malicious artifacts and compromising supply chain integrity.
  • Remediation: Upgrade to version 1.12.0 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00151
  • Epss percentile: 0.04169
  • Assignee: [email protected]
  • Published at: 2022-09-14T20:15:09Z
  • Age in days: 1532
  • Modified at: 2026-06-17T04:52:49Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36056
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-347Improper Verification of Cryptographic Signature

Public exploits

UrlSourceAdded date
https://github.com/sigstore/cosign/security/advisories/GHSA-8gw7-4j42-w388nvd2022-09-14

References

UrlSourceTags
https://github.com/sigstore/cosign/commit/80b79ed8b4d28ccbce3d279fd273606b5cddcc25nvdPatch, Third Party Advisory
https://github.com/sigstore/cosign/security/advisories/GHSA-8gw7-4j42-w388nvdExploit, Mitigation, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
sigstore:cosign< 1.12.0nonvd/v1/products/sigstore/cosign

Projects

RepositoryLink kindsIndexedUrl
sigstore/cosigncommit, fix, package, releases, security_advisoryyes/v1/repositories/sigstore/cosign

Index

  • Repositories: 1
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-09-14
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts