# CVE-2022-35929: False positive signature verification in cosign

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-08-04T18:45:14.000Z
- Modified: 2026-09-08T08:46:02.349Z
- Also known as: GHSA-vjxv-45g9-9296, BIT-COSIGN-2022-35929, GO-2022-0758
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

cosign is a container signing and verification utility. In versions prior to 1.10.1 cosign can report a false positive if any attestation exists. `cosign verify-attestation` used with the `--type` flag will report a false positive verification when there is at least one attestation with a valid signature and there are NO attestations of the type being verified (--type defaults to "custom"). This can happen when signing with a standard keypair and with "keyless" signing with Fulcio. This vulnerability can be reproduced with the `distroless.dev/static@sha256:dd7614b5a12bc4d617b223c588b4e0c833402b8f4991fb5702ea83afad1986e2` image. This image has a `vuln` attestation but not an `spdx` attestation. However, if you run `cosign verify-attestation --type=spdx` on this image, it incorrectly succeeds. This issue has been addressed in version 1.10.1 of cosign. Users are advised to upgrade. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- sigstore cosign: < 1.10.1; before 1.10.1
- github.com/sigstore/cosign (Go): before 1.10.1
- cosign (Bitnami): before 1.10.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296> (exploit, advisory, third-party-advisory, web)
- <https://github.com/sigstore/cosign/commit/c5fda01a8ff33ca981f45a9f13e7fb6bd2080b94> (exploit, advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35929> (advisory, web)
- <https://github.com/sigstore/cosign> (package)

## Sources

- CVE List: [CVE-2022-35929](https://www.cve.org/CVERecord?id=CVE-2022-35929), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-vjxv-45g9-9296](https://github.com/advisories/GHSA-vjxv-45g9-9296), CC-BY-4.0, modified 2023-12-06
- Go Vulnerability Database: [GO-2022-0758](https://pkg.go.dev/vuln/GO-2022-0758), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-35929](https://nvd.nist.gov/vuln/detail/CVE-2022-35929), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-COSIGN-2022-35929](https://osv.dev/vulnerability/BIT-COSIGN-2022-35929), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-35929 · Whole record: https://cve.day/CVE-2022-35929.json · Rebuilt by cve.day 2026-11-25T22:58:13.405Z
