Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-36056 BIT-cosign-2022-36056EUVD-2022-6744GHSA-8gw7-4j42-w388GO-2022-0998

Vulnerabilities with blob verification in sigstore cosign

Published Sep 14, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

Description

Cosign is a project under the sigstore organization which aims to make signatures invisible infrastructure. In versions prior to 1.12.0 a number of vulnerabilities have been found in cosign verify-blob, where Cosign would successfully verify an artifact when verification should have failed. First a cosign bundle can be crafted to successfully verify a blob even if the embedded rekorBundle does not reference the given signature. Second, when providing identity flags, the email and issuer of a certificate is not checked when verifying a Rekor bundle, and the GitHub Actions identity is never checked. Third, providing an invalid Rekor bundle without the experimental flag results in a successful verification. And fourth an invalid transparency log entry will result in immediate success for verification. Details and examples of these issues can be seen in the GHSA-8gw7-4j42-w388 advisory linked. Users are advised to upgrade to 1.12.0. There are no known workarounds for these issues.

Affected products

VendorProductAffectedFixed
sigstore cosign < 1.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP4 cosign 1.12.0-150400.3.6.1 SUSE-SU-2022:3486-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cosign 1.12.0-1.1 openSUSE-SU-2024:12331-1
openSUSE Leap 15.4 cosign 1.12.0-150400.3.6.1 SUSE-SU-2022:3486-1
ReleasePackageFixed inAdvisory
Alpine v3.24 cosign 1.12.1-r0 —
Alpine v3.23 cosign 1.12.1-r0 —
Alpine v3.22 cosign 1.12.1-r0 —
Alpine v3.21 cosign 1.12.1-r0 —
Alpine v3.20 cosign 1.12.1-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 cosign 1.12.1-r0 —
Alpine v3.18 cosign 1.12.1-r0 —
Alpine v3.17 cosign 1.12.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/sigstore/cosign < 1.12.0 1.12.0 GHSA-8gw7-4j42-w388

Advisories 2

References