Skip to content
OpenAdvisories
Low · 1.8 CVE-2024-51746 EUVD-2024-3224GHSA-8pmp-678w-c8xxGO-2024-3252

Use of incorrect Rekor entries during verification in gitsign

Published Nov 5, 2024 · Updated Nov 5, 2024 · Assigned by GitHub_M

Description

Gitsign is a keyless Sigstore to signing tool for Git commits with your a GitHub / OIDC identity. gitsign may select the wrong Rekor entry to use during online verification when multiple entries are returned by the log. gitsign uses Rekor's search API to fetch entries that apply to a signature being verified. The parameters used for the search are the public key and the payload. The search API returns entries that match either condition rather than both. When gitsign's credential cache is used, there can be multiple entries that use the same ephemeral keypair / signing certificate. As gitsign assumes both conditions are matched by Rekor, there is no additional validation that the entry's hash matches the payload being verified, meaning that the wrong entry can be used to successfully pass verification. Impact is minimal as while gitsign does not match the payload against the entry, it does ensure that the certificate matches. This would need to be exploited during the certificate validity window (10 minutes) by the key holder.

Affected products

VendorProductAffectedFixed
sigstore gitsign < 0.11.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 SP6 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
SLES 15 SP5 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241106T172143-1.1 openSUSE-SU-2024:14470-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
openSUSE Leap 15.5 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/sigstore/gitsign < 0.11.0 0.11.0 GHSA-8pmp-678w-c8xx

Advisories 2

References