blob: b6f07cc987c859a70d3eef3439051a00236a956c [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-1702",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-24537"
],
"summary": "Infinite loop in parsing in go/scanner",
"details": "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": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.19.8"
},
{
"introduced": "1.20.0-0"
},
{
"fixed": "1.20.3"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "go/scanner",
"symbols": [
"Scanner.Scan",
"Scanner.updateLineInfo"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/59180"
},
{
"type": "FIX",
"url": "https://go.dev/cl/482078"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8"
}
],
"credits": [
{
"name": "Philippe Antoine (Catena cyber)"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1702",
"review_status": "REVIEWED"
}
}