CVE-2022-23649

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:sigstore:cosign:*:*:*:*:*:*:*:*

History

07 Mar 2022, 14:27

Type Values Removed Values Added
First Time Sigstore cosign
Sigstore
References (MISC) https://github.com/sigstore/cosign/commit/96d410a6580e4e81d24d112a0855c70ca3fb5b49 - (MISC) https://github.com/sigstore/cosign/commit/96d410a6580e4e81d24d112a0855c70ca3fb5b49 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/sigstore/cosign/security/advisories/GHSA-ccxc-vr6p-4858 - (CONFIRM) https://github.com/sigstore/cosign/security/advisories/GHSA-ccxc-vr6p-4858 - Third Party Advisory
CPE cpe:2.3:a:sigstore:cosign:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 2.1
v3 : 3.3

18 Feb 2022, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-18 22:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-23649

Mitre link : CVE-2022-23649

CVE.ORG link : CVE-2022-23649


JSON object : View

Products Affected

sigstore

  • cosign
CWE
CWE-295

Improper Certificate Validation