Vulnerability Details : 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 category: Overflow
Products affected by CVE-2023-24537
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-24537
0.02%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 4 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-24537
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-02-12 |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2023-24537
-
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.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
-
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.Assigned by: security@golang.org (Secondary)
References for CVE-2023-24537
-
https://security.netapp.com/advisory/ntap-20241129-0004/
CVE-2023-24537 Golang Vulnerability in NetApp Products | NetApp Product Security
-
https://go.dev/cl/482078
go/scanner: reject large line and column numbers in //line directives (482078) · Gerrit Code ReviewIssue Tracking;Patch
-
https://go.dev/issue/59180
go/parser: infinite loop in parsing (CVE-2023-24537) · Issue #59180 · golang/go · GitHubIssue Tracking;Patch
-
https://security.gentoo.org/glsa/202311-09
Go: Multiple Vulnerabilities (GLSA 202311-09) — Gentoo security
-
https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8
[security] Go 1.20.3 and Go 1.19.8 are releasedMailing List;Vendor Advisory
-
https://pkg.go.dev/vuln/GO-2023-1702
GO-2023-1702 - Go PackagesVendor Advisory
Jump to