blob: 4dfa1c2456b0b2e136d68b38cef06eb01b19e409 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2024-3107",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-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.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.22.7"
},
{
"introduced": "1.23.0-0"
},
{
"fixed": "1.23.1"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "go/build/constraint",
"symbols": [
"Parse",
"exprParser.not",
"parsePlusBuildExpr"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/611240"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/69141"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-dev/c/S9POB9NCTdk"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-3107",
"review_status": "REVIEWED"
}
}