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.
History

Wed, 06 Nov 2024 13:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N'}

threat_severity

Low


Tue, 05 Nov 2024 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Sigstore
Sigstore gitsign
CPEs cpe:2.3:a:sigstore:gitsign:*:*:*:*:*:go:*:*
Vendors & Products Sigstore
Sigstore gitsign
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 05 Nov 2024 19:15:00 +0000

Type Values Removed Values Added
Title Use of incorrect Rekor entries during verification Use of incorrect Rekor entries during verification in gitsign

Tue, 05 Nov 2024 19:00:00 +0000

Type Values Removed Values Added
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.
Title Use of incorrect Rekor entries during verification
Weaknesses CWE-706
References
Metrics cvssV4_0

{'score': 1.8, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-11-05T18:54:39.494Z

Updated: 2024-11-05T20:30:02.393Z

Reserved: 2024-10-31T14:12:45.790Z

Link: CVE-2024-51746

cve-icon Vulnrichment

Updated: 2024-11-05T20:29:58.283Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-11-05T19:15:08.300

Modified: 2024-11-06T18:17:17.287

Link: CVE-2024-51746

cve-icon Redhat

Severity : Low

Publid Date: 2024-11-05T18:54:39Z

Links: CVE-2024-51746 - Bugzilla