CVE-2022-23649 json
Improper Certificate Validation in Cosign
published 2022-02-18 4 y ago modified 2026-09-08 2 mo ago also BIT-cosign-2022-23649 , EUVD-2022-0958 , GHSA-ccxc-vr6p-4858 , GO-2022-0326
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/sigstore/cosign 1.5.2
- bitnami cosign 1.5.2
- sigstore cosign 1.5.2
- cosign openSUSE Tumbleweed 1.5.2-1.1
opensuse advisories openSUSE-SU-2024:11860-1
- cosign Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.5.2-r0
alpine advisories ALPINE-CVE-2022-23649
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/sigstore/cosign | <1.5.2 |
1.5.2 |
| bitnami | cosign | <1.5.2 |
1.5.2 |
Affected products
- sigstore cosign
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/sigstore/cosign/commit/96d410a6580e4e81d24d112a0855c70ca3fb5b49
web, patch, third-party-advisory, advisory
-
github.com
/sigstore/cosign/security/advisories/GHSA-ccxc-vr6p-4858
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23649
advisory, web
-
github.com
/sigstore/cosign
web
-
github.com
/sigstore/cosign/releases/tag/v1.5.2
web
Sources
- CVE List CVE-2022-23649
- GitHub Advisory GHSA-ccxc-vr6p-4858
- NVD CVE-2022-23649
- OSV BIT-cosign-2022-23649
- OSV GO-2022-0326
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.