CVE-2023-24537: Infinite loop in parsing in go/scanner

0.0 CVSS

Description

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.

Classification

CVE ID: CVE-2023-24537

CVSS Base Severity: LOW

CVSS Base Score: 0.0

Affected Products

Vendor: Go standard library

Product: go/scanner

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.2% (probability of being exploited)

EPSS Percentile: 57.79% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://go.dev/issue/59180
https://go.dev/cl/482078
https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8
https://pkg.go.dev/vuln/GO-2023-1702
https://security.gentoo.org/glsa/202311-09

Timeline