CVE-2024-51746

CVE-2024-51746 is a low-severity improper authentication vulnerability in github.com/sigstore/gitsign (go), affecting versions < 0.11.0. It is fixed in 0.11.0.

Summary

gitsign may select the wrong Rekor entry to use during online verification when multiple entries are returned by the log.

Details

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.

PoC

Enable the credential cache and create commit signatures using the cached signing certificate. gitsign verify or git log --show-signature will demonstrate the use of the wrong entry index for the corresponding commit. Note that this depends on the order of matching entries in the response from the Rekor search API, so it may take a few attempts to trigger this.

Impact

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

The application does not adequately verify the identity of a user, device, or process before granting access. Typical impact: unauthorized access to functions or data reserved for authenticated parties.

Affected versions

github.com/sigstore/gitsign (< 0.11.0)

Security releases

github.com/sigstore/gitsign → 0.11.0 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Upgrade github.com/sigstore/gitsign to 0.11.0 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2024-51746? CVE-2024-51746 is a low-severity improper authentication vulnerability in github.com/sigstore/gitsign (go), affecting versions < 0.11.0. It is fixed in 0.11.0. The application does not adequately verify the identity of a user, device, or process before granting access.
  2. Which versions of github.com/sigstore/gitsign are affected by CVE-2024-51746? github.com/sigstore/gitsign (go) versions < 0.11.0 is affected.
  3. Is there a fix for CVE-2024-51746? Yes. CVE-2024-51746 is fixed in 0.11.0. Upgrade to this version or later.
  4. Is CVE-2024-51746 exploitable, and should I be worried? Whether CVE-2024-51746 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2024-51746 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2024-51746? Upgrade github.com/sigstore/gitsign to 0.11.0 or later.

Other vulnerabilities in github.com/sigstore/gitsign

CVE-2026-44310CVE-2024-51746CVE-2023-47122

Stop the waste.
Protect your environment with Kodem.