CVE-2023-24537Integer Overflow or Wraparound in Standard Library GO Scanner

Severity
7.5HIGHNVD
EPSS
0.0%
top 98.49%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 6
Latest updateJan 9

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

NVDgolang/go1.20.01.20.3+1
CVEListV5go_standard_library/go_scanner1.20.0-01.20.3+1

Patches

🔴Vulnerability Details

5
OSV
golang-1.18 vulnerabilities2023-04-25
CVEList
Infinite loop in parsing in go/scanner2023-04-06
GHSA
GHSA-fp86-2355-v99r: 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 i2023-04-06
OSV
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 i2023-04-06
OSV
Infinite loop in parsing in go/scanner2023-04-05

📋Vendor Advisories

6
Ubuntu
Go vulnerabilities2024-01-09
Ubuntu
Go vulnerabilities2023-06-06
Ubuntu
Go vulnerabilities2023-04-25
Microsoft
Infinite loop in parsing in go/scanner2023-04-11
Red Hat
golang: go/parser: Infinite loop in parsing2023-04-04
CVE-2023-24537 — Integer Overflow or Wraparound | cvebase