blob: 9eb9de50bdc6bc9a2da6ba3f49ab799a7dbccacb [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2023-24537"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Infinite loop in parsing in go/scanner",
"descriptions": [
{
"lang": "en",
"value": "Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow."
}
],
"affected": [
{
"vendor": "Go standard library",
"product": "go/scanner",
"collectionURL": "https://pkg.go.dev",
"packageName": "go/scanner",
"versions": [
{
"version": "0",
"lessThan": "1.19.8",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.20.0-0",
"lessThan": "1.20.3",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "Scanner.updateLineInfo"
},
{
"name": "Scanner.Scan"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')"
}
]
}
],
"references": [
{
"url": "https://go.dev/issue/59180"
},
{
"url": "https://go.dev/cl/482078"
},
{
"url": "https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8"
},
{
"url": "https://pkg.go.dev/vuln/GO-2023-1702"
},
{
"url": "https://security.gentoo.org/glsa/202311-09"
}
],
"credits": [
{
"lang": "en",
"value": "Philippe Antoine (Catena cyber)"
}
]
}
}
}