cosign's `cosign verify-attestaton --type` can report a false positive if any attestation exists
Description
Published by the National Vulnerability Database
Aug 4, 2022
Published to the GitHub Advisory Database
Aug 10, 2022
Reviewed
Aug 10, 2022
Last updated
Jan 30, 2023
cosign verify-attestation
used with the--type
flag will report a false positive verification when: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.
References