{"id":"CVE-2024-34158","aliases":["CVE-2024-34158","GO-2024-3107","BIT-GOLANG-2024-34158"],"related":["CGA-wphq-vqjw-gwmr","RHSA-2024:6908","RHSA-2024:6913","RHSA-2024:8038","RHSA-2024:8039","RHSA-2024:8112","RHSA-2024:8232","RHSA-2024:8263","RHSA-2024:8428","RHSA-2024:8690","RHSA-2024:8694","RHSA-2024:8700","RHSA-2024:9454","RHSA-2024:9459","RHSA-2025:7118"],"kind":"vulnerability","state":"published","title":"Stack exhaustion in Parse in go/build/constraint","summary":"Calling Parse on a \"// +build\" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Calling Parse on a \"// +build\" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.","source":"cvelist"},{"lang":"es","text":"Llamar a Parse en una línea de compilación \"// +build\" con expresiones profundamente anidadas puede causar pánico debido al agotamiento de la pila.","source":"nvd"}],"published":"2024-09-06T19:15:23.000Z","modified":"2026-08-05T10:56:57.290Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.22.7","status":"affected"},{"type":"semver","introduced":"1.23.0-0","fixed":"1.23.1","status":"affected"}],"vendor":"Go standard library","product":"go/build/constraint","package":"go/build/constraint","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.22.7","status":"affected"},{"type":"semver","introduced":"1.23.0-0","fixed":"1.23.1","status":"affected"}],"vendor":"go_build_constraint","product":"go_standard_library","cpe":"cpe:2.3:a:go_build_constraint:go_standard_library:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.22.7"},{"type":"semver","introduced":"1.23.0-0","status":"affected","fixed":"1.23.1"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.22.7"},{"type":"semver","introduced":"1.23.0-0","status":"affected","fixed":"1.23.1"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/611240","tags":["fix","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/69141","tags":["report","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-dev/c/S9POB9NCTdk","tags":["web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3107","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20241004-0003/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34158","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-09T13:59:30.881Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34158","url":"https://www.cve.org/CVERecord?id=CVE-2024-34158","licence":"CVE Terms of Use","modified":"2024-10-04T15:02:47.715Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3107","url":"https://pkg.go.dev/vuln/GO-2024-3107","licence":"CC-BY-4.0","modified":"2026-08-05T10:56:57.290Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34158","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34158","licence":"Public domain","modified":"2026-06-17T07:33:00.867Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2024-34158","url":"https://osv.dev/vulnerability/BIT-GOLANG-2024-34158","licence":"Apache-2.0","modified":"2025-05-20T10:02:07.006Z"}],"updatedAt":"2026-11-25T22:58:45.148Z","epss":{"score":0.01046,"percentile":0.65108,"date":"2026-12-01T12:00:22.000Z"}}