{"answers":{"affected":"3 open source packages ship an affected version, including github.com/sigstore/sigstore-go. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-45395 in the wild and no public exploit code.","fix":"Upgrade github.com/sigstore/sigstore-go to 0.6.1 or later.","what":"CVE-2024-45395 is a low-severity denial of service vulnerability in sigstore-go, published on 4 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-45395 and fix it if it is affected.\n\nWhat it is: CVE-2024-45395 is a low-severity denial of service vulnerability in sigstore-go, published on 4 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-45395 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/sigstore/sigstore-go (Go): affected all versions; fixed in 0.6.1\n- github.com/sigstore/sigstore-go (Go): affected all versions; fixed in 0.6.1\n- github.com/sigstore/sigstore-go (Go): affected all versions; fixed in 0.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-45395/ (Markdown: https://insights.sbomify.com/CVE-2024-45395/index.md)","id":"CVE-2024-45395","markdown":"https://insights.sbomify.com/CVE-2024-45395/index.md","name":"CVE-2024-45395","record":{"aliases":["GHSA-cq38-jh5f-37mq","GO-2024-3116"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go Sigstore library","requires_auth":"none","summary":"Attackers can cause denial of service in applications using sigstore-go by submitting maliciously crafted bundles with excessive verifiable data.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sigstore-go","vendor":"sigstore"}],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"sigstore-go, a Go library for Sigstore signing and verification, is susceptible to a denial of service attack in versions prior to 0.6.1 when a verifier is provided a maliciously crafted Sigstore Bundle containing large amounts of verifiable data, in the form of signed transparency log entries, RFC 3161 timestamps, and attestation subjects. The verification of these data structures is computationally expensive. This can be used to consume excessive CPU resources, leading to a denial of service attack. TUF's security model labels this type of vulnerability an \"Endless data attack,\" and can lead to verification failing to complete and disrupting services that rely on sigstore-go for verification. This vulnerability is addressed with sigstore-go 0.6.1, which adds hard limits to the number of verifiable data structures that can be processed in a bundle. Verification will fail if a bundle has data that exceeds these limits. The limits are 32 signed transparency log entries, 32 RFC 3161 timestamps, 1024 attestation subjects, and 32 digests per attestation subject. These limits are intended to be high enough to accommodate the vast majority of use cases, while preventing the verification of maliciously crafted bundles that contain large amounts of verifiable data. Users who are vulnerable but unable to quickly upgrade may consider adding manual bundle validation to enforce limits similar to those in the referenced patch prior to calling sigstore-go's verification functions.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Unbounded loop over untrusted input can lead to endless data attack","id":"CVE-2024-45395","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":5,"next":{"headline":"Quicly assertion failures","id":"CVE-2024-45396"},"packages":[{"ecosystem":"Go","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/sigstore-go","purl":null,"source":"GHSA-cq38-jh5f-37mq"},{"ecosystem":"Go","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/sigstore-go","purl":"pkg:golang/github.com/sigstore/sigstore-go","source":"GHSA-cq38-jh5f-37mq"},{"ecosystem":"Go","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/sigstore-go","purl":"pkg:golang/github.com/sigstore/sigstore-go","source":"GO-2024-3116"}],"prev":{"headline":"Secret encryption vulnerable to brute-force attacks","id":"CVE-2024-45394"},"products":["sigstore-go"],"published":"2024-09-04","related":[{"cvss_score":5.9,"headline":"sigstore-go: Multi-log threshold bypass via single compromised log","id":"CVE-2026-49834","kev_date_added":null,"published":"2026-07-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-05","vendors":["sigstore"]},"summary":"Attackers can cause denial of service in applications using sigstore-go by submitting maliciously crafted bundles with excessive verifiable data.","url":"https://insights.sbomify.com/CVE-2024-45395/"}