{"schemaVersion":3,"id":"CVE-2022-35929","aliases":["SUSE-SU-2022:2877-1","GHSA-vjxv-45g9-9296","BIT-cosign-2022-35929","GO-2022-0758","openSUSE-SU-2024:12240-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-08-04T18:45:14.000Z","modified":"2025-04-22T17:43:02.289Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00664,"percentile":0.50882,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.014000000000000037,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0065},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00664,"percentile":0.50882}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0065,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00664,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00664,"percentile":0.50882}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_SIGSTORE_COSIGN","name":"Cosign","source":"github","url":"https://github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"github.com/sigstore","product":"cosign","name":"github.com/sigstore/cosign","label":"cosign","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/sigstore/cosign","purlType":"golang","versions":[{"text":"< 1.10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"cosign&distro=openSUSE Leap 15.4","name":"cosign","label":"cosign&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/cosign&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 1.10.1-150400.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.1-150400.3.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"cosign&distro=openSUSE Tumbleweed","name":"cosign","label":"cosign&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/cosign&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.10.1-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.1-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"cosign&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","name":"cosign","label":"cosign&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/cosign&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4","purlType":"rpm","versions":[{"text":"< 1.10.1-150400.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.1-150400.3.3.1","eol":null,"hubHref":null},{"vendor":"sigstore","product":"cosign","name":"cosign","label":"cosign","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.1","eol":null,"hubHref":"/vendor/sigstore/cosign"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296","label":"github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Third Party Advisory"]},{"url":"https://github.com/sigstore/cosign/commit/c5fda01a8ff33ca981f45a9f13e7fb6bd2080b94","label":"github.com/sigstore/cosign/commit/c5fda01a8ff33ca981f45a9f13e7fb6bd2080b94","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Exploit","Patch","Third Party Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20222877-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20222877-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1202157","label":"bugzilla.suse.com/1202157","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-35929","label":"www.suse.com/security/cve/CVE-2022-35929","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35929","label":"nvd.nist.gov/vuln/detail/CVE-2022-35929","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/sigstore/cosign","label":"github.com/sigstore/cosign","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-08-04T18:45:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-22T17:43:02.289Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:23:35.526Z","stale":false,"partial":false}}