CVE-2023-24537
7.5high
Infinite loop in parsing in go/scanner
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.40% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2023-1702BIT-GOLANG-2023-24537
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| go/scanner | before 1.19.8, from 1.20.0-0 before 1.20.3 | CVE List |
| stdlib (Go) | before 1.19.8, from 1.20.0-0 before 1.20.3 | Go Vulnerability Database |
| golang go | before 1.19.8, from 1.20.0 before 1.20.3 | NVD |
| golang (Bitnami) | before 1.19.8, from 1.20.0 before 1.20.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
References
| https://go.dev/issue/59180 | fix, issue-tracking, patch, report | |
| https://go.dev/cl/482078 | fix, issue-tracking, patch | |
| https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8 | advisory, mailing-list, vendor-advisory, web | |
| https://pkg.go.dev/vuln/GO-2023-1702 | advisory, vendor-advisory | |
| https://security.gentoo.org/glsa/202311-09 | web | |
| https://security.netapp.com/advisory/ntap-20241129-0004/ | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-24537 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-24537 changed 2025-02-13 | CVE Terms of Use |
| Go Vulnerability Database | GO-2023-1702 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2023-24537 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2023-24537 changed 2026-09-08 | Apache-2.0 |