Skip to content
Heist/ feed
Back to feed
Low

Use of incorrect Rekor entries during verification in gitsign

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-51746
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:06 UTC · Revision 1

Source evidence

Use of incorrect Rekor entries during verification in gitsign

core-osv · Original source

Published 5 Nov 2024, 18:54 UTC

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.

osv:CVE-2024-51746
Complete source record
{
  "id": "81939ff9ba714d32baf3a9aee5d580f09b565b1d5023c821a7ca5c104765254e",
  "url": "https://osv.dev/vulnerability/CVE-2024-51746",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Use of incorrect Rekor entries during verification in gitsign",
    "summary": "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.",
    "evidence": "osv:CVE-2024-51746",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-51746",
      "aliases": [
        "CVE-2024-51746",
        "GHSA-8pmp-678w-c8xx",
        "GO-2024-3252"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sigstore/gitsign",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8e08985029f0c0e5f0603d20c21864a3a97316cc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.10.2",
            "v0.10.1",
            "v0.9.1",
            "v0.10.0",
            "v0.9.0",
            "v0.8.1",
            "v0.8.0",
            "v0.7.1",
            "v0.7.0",
            "v0.6.0",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.1",
            "v0.4.0",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.0",
            "v0.1.1",
            "v0.1.0",
            "v0.0.2-alpha",
            "v0.0.1-alpha",
            "v0.0.0-test"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-51746.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.524511989Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51746.json",
        "https://github.com/sigstore/gitsign/security/advisories/GHSA-8pmp-678w-c8xx",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-51746"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-706"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51746.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-51746",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521199,
  "published_at": "2024-11-05T18:54:39.494+00:00"
}