{"id":"CVE-2022-35929","aliases":["CVE-2022-35929","GHSA-vjxv-45g9-9296","BIT-COSIGN-2022-35929","GO-2022-0758"],"related":[],"kind":"vulnerability","state":"published","title":"False positive signature verification in cosign","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"`cosign verify-attestation` used with the `--type` flag will report a false positive verification when:\n\n- There is at least one attestation with a valid signature\n- There are NO attestations of the type being verified (--type defaults to \"custom\")\n\nThis can happen when signing with a standard keypair and with \"keyless\" signing with Fulcio. Users should upgrade to cosign version 1.10.1 or greater for a patch. Currently the only workaround is to upgrade.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Improper verification of signature attestations in github.com/sigstore/cosign","format":"markdown","source":"go"},{"lang":"es","text":"cosign es una utilidad de firma y verificación de contenedores. En versiones anteriores a 1.10.1 cosign puede reportar un falso positivo si se presenta alguna atestación. Si es usado \"cosign verify-attestation\" con el indicador \"--type\", será informado de un falso positivo en la verificación cuando haya al menos un certificado con una firma válida y NO haya certificados del tipo que está siendo verificado (--type es, por defecto, \"custom\"). Esto puede ocurrir cuando es firmado con un par de claves estándar y con la firma \"keyless\" con Fulcio. Esta vulnerabilidad puede reproducirse con la imagen \"distroless.dev/static@sha256:dd7614b5a12bc4d617b223c588b4e0c833402b8f4991fb5702ea83afad1986e2\". Esta imagen presenta una certificación \"vuln\" pero no una certificación \"spdx\". Sin embargo, si es ejecutado \"cosign verify-attestation --type=spdx\" en esta imagen, el resultado es incorrecto. Este problema ha sido abordado en versión 1.10.1 de cosign. Es recomendado a usuarios actualizar. No se presentan mitigaciones conocidas para este problema","source":"nvd"}],"published":"2022-08-04T18:45:14.000Z","modified":"2026-09-08T08:46:02.349Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"version":"< 1.10.1","status":"affected"}],"vendor":"sigstore","product":"cosign","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Go","package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Go","package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"go"},{"ranges":[{"status":"affected","fixed":"1.10.1"}],"vendor":"sigstore","product":"cosign","cpe":"cpe:2.3:a:sigstore:cosign:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Bitnami","package":"cosign","purl":"pkg:bitnami/cosign","source":"bitnami"}],"references":[{"url":"https://github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/sigstore/cosign/commit/c5fda01a8ff33ca981f45a9f13e7fb6bd2080b94","tags":["advisory","exploit","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35929","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/sigstore/cosign","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-22T15:42:35.760Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-35929","url":"https://www.cve.org/CVERecord?id=CVE-2022-35929","licence":"CVE Terms of Use","modified":"2025-04-22T17:43:02.289Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vjxv-45g9-9296","url":"https://github.com/advisories/GHSA-vjxv-45g9-9296","licence":"CC-BY-4.0","modified":"2023-12-06T01:02:25.319Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0758","url":"https://pkg.go.dev/vuln/GO-2022-0758","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-35929","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35929","licence":"Public domain","modified":"2026-06-17T04:52:32.657Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-COSIGN-2022-35929","url":"https://osv.dev/vulnerability/BIT-COSIGN-2022-35929","licence":"Apache-2.0","modified":"2026-09-08T08:46:02.349Z"}],"updatedAt":"2026-11-25T22:58:13.405Z","epss":{"score":0.00684,"percentile":0.53822,"date":"2026-12-01T12:00:22.000Z"}}