{"id":"BIT-golang-2024-34158","summary":"Stack exhaustion in Parse in go/build/constraint","details":"Calling Parse on a \"// +build\" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.","aliases":["CVE-2024-34158","GO-2024-3107"],"modified":"2025-05-20T10:02:07.006Z","published":"2024-09-10T07:06:15.527Z","database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"},"references":[{"type":"WEB","url":"https://go.dev/cl/611240"},{"type":"WEB","url":"https://go.dev/issue/69141"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/S9POB9NCTdk"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3107"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20241004-0003/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34158"}],"affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.7"},{"introduced":"1.23.0-0"},{"fixed":"1.23.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2024-34158.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.7.3"}