Low severity · published Feb 18, 2022
CVE-2022-23649
Cosign provides container signing, verification, and storage in an OCI registry for the sigstore project
3.3
CVSS
0.2%
EPSS
No
On KEV
Description
Cosign provides container signing, verification, and storage in an OCI registry for the sigstore project. Prior to version 1.5.2, Cosign can be manipulated to claim that an entry for a signature exists in the Rekor transparency log even if it doesn't. This requires the attacker to have pull and push permissions for the signature in OCI. This can happen with both standard signing with a keypair and "keyless signing" with Fulcio. If an attacker has access to the signature in OCI, they can manipulate cosign into believing the entry was stored in Rekor even though it wasn't. The vulnerability has been patched in v1.5.2 of Cosign. The `signature` in the `signedEntryTimestamp` provided by Rekor is now compared to the `signature` that is being verified. If these don't match, then an error is returned. If a valid bundle is copied to a different signature, verification should fail. Cosign output now only informs the user that certificates were verified if a certificate was in fact verified. There is currently no known workaround.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 5% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
Cosign · Sigstore
before 1.5.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-23649
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-23649
Patch
https://github.com/sigstore/cosign/commit/96d410a6580e4e81d24d112a0855c70ca3fb5b49
Third Party Advisory
https://github.com/sigstore/cosign/security/advisories/GHSA-ccxc-vr6p-4858
More from Cosign
9.8
CVE-2022-35929
False positive signature verification in cosign
7.5
CVE-2024-29903
Cosign provides code signing and transparency for containers and binaries
5.9
CVE-2024-29902
Cosign provides code signing and transparency for containers and binaries
5.5
CVE-2026-22703
Cosign verification accepts any valid Rekor entry under certain conditions
5.5
CVE-2022-36056
Cosign is a project under the sigstore organization which aims to make signatures invisible infrastructure
