CVE-2023-24537
Aliases:GO-2023-1702BIT-golang-2023-24537
Advisory lineage Upstream: 0 Downstream: 29
Modified
Published: 06 Apr 2023, 15:50
Last modified:13 Feb 2025, 16:44
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.02% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
06 Apr 2023, 15:50
Published
Vulnerability first disclosed
13 Feb 2025, 16:44
Last Modified
Vulnerability information updated
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 Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.02%• Percentile: 4%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- go standard library•go/scanner
< 1.19.8 | ≥ 1.20.0-0, < 1.20.3
- golang•go
< 1.19.8 | ≥ 1.20.0, < 1.20.3
- Go•stdlib
≥ 1.20.0-0, < 1.20.3