Integer overflow in Golang Go
CVE-2023-24537
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.014, 73.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Go/scanner — versions 0, 1.20.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (8-cm/kube-dump, drewtwitchell/scancompare, h4ckm1n-dev/report-test, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/issue/59180 (Patch, Issue Tracking)
- go.dev/cl/482078 (Patch, Issue Tracking)
- groups.google.com/g/golang-announce/c/Xdv6JL9ENs8 (Mailing List, Vendor Advisory)
- pkg.go.dev/vuln/GO-2023-1702 (Vendor Advisory)
- security.gentoo.org/glsa/202311-09
- security.netapp.com/advisory/ntap-20241129-0004/