blob: 749d2ad2d5c959712ec183dc70aeaa4eeac1b74c [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2024-34158"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Stack exhaustion in Parse in go/build/constraint",
"descriptions": [
{
"lang": "en",
"value": "Calling Parse on a \"// +build\" build tag line with deeply nested expressions can cause a panic due to stack exhaustion."
}
],
"affected": [
{
"vendor": "Go standard library",
"product": "go/build/constraint",
"collectionURL": "https://pkg.go.dev",
"packageName": "go/build/constraint",
"versions": [
{
"version": "0",
"lessThan": "1.22.7",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.23.0-0",
"lessThan": "1.23.1",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "parsePlusBuildExpr"
},
{
"name": "exprParser.not"
},
{
"name": "Parse"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-674: Uncontrolled Recursion"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/611240"
},
{
"url": "https://go.dev/issue/69141"
},
{
"url": "https://groups.google.com/g/golang-dev/c/S9POB9NCTdk"
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-3107"
}
]
}
}
}