Infinite loop in parsing in go/scanner
CVE-2023-24537
7.5HIGH
What is CVE-2023-24537?
This vulnerability occurs in the Go programming language when the Parse functions are called on source code that includes //line directives with excessively large line numbers. These large values can lead to integer overflow, resulting in an infinite loop that may freeze or crash applications relying on the affected code. Developers should ensure that their code does not utilize excessively large line numbers to avoid this issue and maintain robust application performance.
Affected Version(s)
go/scanner 0 < 1.19.8
go/scanner 1.20.0-0 < 1.20.3
References
CVSS V3.1
Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Philippe Antoine (Catena cyber)