{"id":"CVE-2023-24537","published":"2023-04-06T15:50:49Z","modified":"2025-02-13T16:44:18Z","title":"Infinite loop in parsing in go/scanner","vendor":"Go standard library","product":"go/scanner","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01401,"percentile":0.73171,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://go.dev/issue/59180","tags":[]},{"url":"https://go.dev/cl/482078","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2023-1702","tags":[]},{"url":"https://security.gentoo.org/glsa/202311-09","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20241129-0004/","tags":[]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":14.63},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"go/scanner","versions":["< 1.19.8",">= 1.20.0-0, < 1.20.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-12T17:00:19.402169Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.19.8",">=1.20.0-0, <1.20.3"],"patched":["1.19.8","1.20.3"],"from":["GO-2023-1702"],"provenance":"source"}],"summary":{"text":"The go/scanner package in the Go standard library contains a flaw in its parsing logic: when the Parse functions process Go source code containing //line directives with very large line numbers, an integer overflow occurs. An attacker who can supply such source code over the network, with no authentication or user interaction required, can trigger an infinite loop that makes the parsing process hang, causing a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:42Z"},"euvd":{"id":"EUVD-2023-28553","exploited":false,"provenance":"source"}}