blob: e6c86c44d6fc7b4b9281ae0db60296a41793b071 [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"
}
}