{"id":"CVE-2022-35929","published":"2022-08-04T18:45:14Z","modified":"2025-04-22T17:43:02Z","title":"False positive signature verification in cosign","vendor":"sigstore","product":"cosign","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00684,"percentile":0.52476,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sigstore/cosign/commit/c5fda01a8ff33ca981f45a9f13e7fb6bd2080b94","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.5},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"sigstore","affectedVersions":[{"vendor":"sigstore","product":"cosign","versions":["< 1.10.1"]}],"affected":[{"ecosystem":"Go","package":"github.com/sigstore/cosign","vulnerableRanges":["<1.10.1"],"patched":["1.10.1"],"from":["GHSA-vjxv-45g9-9296","GO-2022-0758"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-6632","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sigstore-cosign-cve-2022-23649","parents":[{"from":"CVE-2022-23649","to":"CVE-2022-35929","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/sigstore/cosign","fromFixed":"1.5.2","toFixed":"1.10.1","daysApart":167},{"kind":"same-code","provenance":"machine","files":["cmd/cosign/cli/verify/verify_attestation.go"],"commits":["https://github.com/sigstore/cosign/commit/96d410a6580e4e81d24d112a0855c70ca3fb5b49","https://github.com/sigstore/cosign/commit/c5fda01a8ff33ca981f45a9f13e7fb6bd2080b94"],"basis":"shared function","functions":["Exec"]}]}],"packageHistory":[{"cve":"CVE-2022-23649","published":"2022-02-18","fixed":"1.5.2","kev":false},{"cve":"CVE-2022-35929","published":"2022-08-04","fixed":"1.10.1","kev":false},{"cve":"CVE-2022-36056","published":"2022-09-14","fixed":"1.12.0","kev":false,"link":{"from":"CVE-2022-35929","to":"CVE-2022-36056","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/sigstore/cosign","fromFixed":"1.10.1","toFixed":"1.12.0","daysApart":41}]}},{"cve":"CVE-2023-46737","published":"2023-11-07","fixed":"1.13.2","kev":false},{"cve":"CVE-2026-24122","published":"2026-02-19","fixed":"3.0.5","kev":false}],"package":"Go:github.com/sigstore/cosign"}}