VDB

CVE-2022-23649

CVE-2022-23649 PUBLISHED CVSS 3.3 LOW

Improper Certificate Validation in Cosign

Reported by github_m · Published February 18, 2022

github.com/sigstore/cosign is fixed in 1.5.2 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/sigstore/cosignGo Modules1.5.2
cosignsigstore1.5.2

Risk scores

CVSS 3.1
3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected products

VendorProductVersions
sigstorecosign< 1.5.2
github.comsigstore/cosign0
sigstorecosign0
alpinecosign0

Timeline

  • Feb 18, 2022 CVE Published
  • Feb 19, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory
  • Jul 4, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-23649
vulnetix vdb fixes CVE-2022-23649

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-23649/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›