{"answers":{"affected":"7 open source packages ship an affected version, including github.com/sigstore/cosign, cosign and github.com/sigstore/cosign/v2. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-46737 in the wild and no public exploit code.","fix":"Upgrade github.com/sigstore/cosign to 1.13.2 or later.","what":"CVE-2023-46737 is a low-severity denial of service vulnerability in sigstore cosign, published on 7 Nov 2023. 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-2023-46737 and fix it if it is affected.\n\nWhat it is: CVE-2023-46737 is a low-severity denial of service vulnerability in sigstore cosign, published on 7 Nov 2023. 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-2023-46737 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/sigstore/cosign (Go): affected all versions; no fix listed\n- github.com/sigstore/cosign (Go): affected all versions; fixed in 1.13.2\n- github.com/sigstore/cosign (Go): affected all versions; fixed in 1.13.2\n- cosign (Bitnami): affected all versions; fixed in 2.2.1\n- github.com/sigstore/cosign/v2 (Go): affected all versions; fixed in 2.2.1\n- github.com/sigstore/cosign/v2 (Go): affected all versions; fixed in 2.2.1\n- github.com/sigstore/cosign/v2 (Go): affected all versions; fixed in 2.2.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-2023-46737/ (Markdown: https://insights.sbomify.com/CVE-2023-46737/index.md)","id":"CVE-2023-46737","markdown":"https://insights.sbomify.com/CVE-2023-46737/index.md","name":"CVE-2023-46737","record":{"aliases":["BIT-cosign-2023-46737","CLEANSTART-2026-GS24537","GHSA-vfp6-jrw2-99g9","GO-2023-2181","SUSE-SU-2023:4870-1","openSUSE-SU-2024:13402-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Container signing tool","requires_auth":"none","summary":"An attacker controlling a registry can cause Cosign to enter an infinite loop by returning excessive attestations, denying service to other users.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cosign","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"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Cosign is a sigstore signing tool for OCI containers. Cosign is susceptible to a denial of service by an attacker controlled registry. An attacker who controls a remote registry can return a high number of attestations and/or signatures to Cosign and cause Cosign to enter a long loop resulting in an endless data attack. The root cause is that Cosign loops through all attestations fetched from the remote registry in pkg/cosign.FetchAttestations. The attacker needs to compromise the registry or make a request to a registry they control. When doing so, the attacker must return a high number of attestations in the response to Cosign. The result will be that the attacker can cause Cosign to go into a long or infinite loop that will prevent other users from verifying their data. In Kyvernos case, an attacker whose privileges are limited to making requests to the cluster can make a request with an image reference to their own registry, trigger the infinite loop and deny other users from completing their admission requests. Alternatively, the attacker can obtain control of the registry used by an organization and return a high number of attestations instead the expected number of attestations. The issue can be mitigated rather simply by setting a limit to the limit of attestations that Cosign will loop through. The limit does not need to be high to be within the vast majority of use cases and still prevent the endless data attack. This issue has been patched in version 2.2.1 and users are advised to upgrade.","ecosystems":["Bitnami","Go","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"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":"Possible endless data attack from attacker-controlled registry in cosign","id":"CVE-2023-46737","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":12,"n_references":2,"next":{"headline":"Authenticated users can crash the CubeFS servers with maliciously crafted requests","id":"CVE-2023-46738"},"packages":[{"ecosystem":"Bitnami","fixed":["2.2.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:bitnami/cosign","source":"BIT-cosign-2023-46737"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"GO-2023-2181"},{"ecosystem":"Go","fixed":["1.13.2"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign","purl":null,"source":"GHSA-vfp6-jrw2-99g9"},{"ecosystem":"Go","fixed":["1.13.2"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign","purl":"pkg:golang/github.com/sigstore/cosign","source":"GHSA-vfp6-jrw2-99g9"},{"ecosystem":"Go","fixed":["2.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign/v2","purl":null,"source":"GHSA-vfp6-jrw2-99g9"},{"ecosystem":"Go","fixed":["2.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","source":"GHSA-vfp6-jrw2-99g9"},{"ecosystem":"Go","fixed":["2.2.1"],"introduced":["0"],"last_affected":[],"package":"github.com/sigstore/cosign/v2","purl":"pkg:golang/github.com/sigstore/cosign/v2","source":"GO-2023-2181"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["2.2.1-150400.3.14.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/suse/cosign\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:4870-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["2.2.1-150400.3.14.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/suse/cosign\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:4870-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.2.1-150400.3.14.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/opensuse/cosign\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4870-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.2.1-150400.3.14.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/opensuse/cosign\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4870-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.2.1-1.1"],"introduced":["0"],"last_affected":[],"package":"cosign","purl":"pkg:rpm/opensuse/cosign\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13402-1"}],"prev":{"headline":"Server-Side Request Forgery in espocrm","id":"CVE-2023-46736"},"products":["cosign"],"published":"2023-11-07","related":[{"cvss_score":7.1,"headline":"False positive signature verification in cosign","id":"CVE-2022-35929","kev_date_added":null,"published":"2022-08-04"},{"cvss_score":5.5,"headline":"Cosign verification accepts any valid Rekor entry under certain conditions","id":"CVE-2026-22703","kev_date_added":null,"published":"2026-01-10"},{"cvss_score":5.5,"headline":"Vulnerabilities with blob verification in sigstore cosign","id":"CVE-2022-36056","kev_date_added":null,"published":"2022-09-14"},{"cvss_score":4.3,"headline":"Cosign's verify-blob-attestation reports false positive when payload parsing fails","id":"CVE-2026-39395","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":4.2,"headline":"Cosign vulnerable to system-wide denial of service via malicious attachments","id":"CVE-2024-29902","kev_date_added":null,"published":"2024-04-10"},{"cvss_score":4.2,"headline":"Cosign vulnerable to machine-wide denial of service via malicious artifacts","id":"CVE-2024-29903","kev_date_added":null,"published":"2024-04-10"},{"cvss_score":3.7,"headline":"Cosign Certificate Chain Expiry Validation Issue Allows Issuing Certificate Expiry to Be Overlooked","id":"CVE-2026-24122","kev_date_added":null,"published":"2026-02-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-04","vendors":["sigstore"]},"summary":"An attacker controlling a registry can cause Cosign to enter an infinite loop by returning excessive attestations, denying service to other users.","url":"https://insights.sbomify.com/CVE-2023-46737/"}