{"id":"GHSA-vjxv-45g9-9296","summary":"cosign's `cosign verify-attestaton  --type` can report a false positive if any attestation exists","details":"`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.","aliases":["BIT-cosign-2022-35929","CVE-2022-35929","GO-2022-0758"],"modified":"2023-12-06T00:47:23.041925Z","published":"2022-08-10T18:40:38Z","database_specific":{"cwe_ids":["CWE-347"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-08-10T18:40:38Z","nvd_published_at":"2022-08-04T19:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/sigstore/cosign/security/advisories/GHSA-vjxv-45g9-9296"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35929"},{"type":"WEB","url":"https://github.com/sigstore/cosign/commit/c5fda01a8ff33ca981f45a9f13e7fb6bd2080b94"},{"type":"PACKAGE","url":"https://github.com/sigstore/cosign"}],"affected":[{"package":{"name":"github.com/sigstore/cosign","ecosystem":"Go","purl":"pkg:golang/github.com/sigstore/cosign"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-vjxv-45g9-9296/GHSA-vjxv-45g9-9296.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}