{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2024-34155 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.22.7 or 1.23.1.","what":"CVE-2024-34155 is a medium-severity denial of service vulnerability in go/parser, published on 6 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-34155 and fix it if it is affected.\n\nWhat it is: CVE-2024-34155 is a medium-severity denial of service vulnerability in go/parser, published on 6 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-34155 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.22.7, 1.23.1\n- stdlib (Go): affected all versions; fixed in 1.22.7, 1.23.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-34155/ (Markdown: https://insights.sbomify.com/CVE-2024-34155/index.md)","id":"CVE-2024-34155","markdown":"https://insights.sbomify.com/CVE-2024-34155/index.md","name":"CVE-2024-34155","record":{"aliases":["AZL-48896","AZL-78988","AZL-98886","BELL-CVE-2024-34155","BIT-golang-2024-34155","DEBIAN-CVE-2024-34155","ECHO-e851-3ecb-a213","GHSA-8xfx-rj4p-23jm","GO-2024-3105","MINI-2h3c-hh8m-8593","MINI-9vm4-7x96-jrv5","OESA-2024-2398","UBUNTU-CVE-2024-34155","openSUSE-SU-2024:14392-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go standard library","requires_auth":"low_privilege","summary":"Attackers can cause a denial of service by providing Go source code with deeply nested literals to the parser, leading to stack exhaustion and application panic.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[],"description":"Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.","ecosystems":["Bitnami","Go","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":"Stack exhaustion in all Parse functions in go/parser","id":"CVE-2024-34155","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":4,"next":{"headline":"Stack exhaustion in Decoder.Decode in encoding/gob","id":"CVE-2024-34156"},"packages":[{"ecosystem":"Bitnami","fixed":["1.22.7","1.23.1"],"introduced":["0","1.23.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2024-34155"},{"ecosystem":"Go","fixed":["1.22.7","1.23.1"],"introduced":["0","1.23.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2024-3105"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.56.1-1.1"],"introduced":["0"],"last_affected":[],"package":"trivy","purl":"pkg:rpm/opensuse/trivy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14392-1"}],"prev":{"headline":"reserved but not needed","id":"CVE-2024-34154"},"products":["go/parser"],"published":"2024-09-06","related":[],"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":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-04","vendors":["Go standard library"]},"summary":"Attackers can cause a denial of service by providing Go source code with deeply nested literals to the parser, leading to stack exhaustion and application panic.","url":"https://insights.sbomify.com/CVE-2024-34155/"}