Advisory

GHSA-vjxv-45g9-9296

Also known as: BIT-cosign-2022-35929, CVE-2022-35929, GO-2022-0758

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:

  • There is at least one attestation with a valid signature
  • 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. Users should upgrade to cosign version 1.10.1 or greater for a patch. Currently the only workaround is to upgrade.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-08-10 18:40 UTC
Modified
2023-12-06 01:02 UTC

Affected packages and fixes

github.com/sigstore/cosign

Go · All systems

Affected

  • introduced 0, fixed 1.10.1 (semver)

Fixed versions

1.10.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences