GO-2023-1702
Dashboard / Vulnerabilities / GO-2023-1702
Summary: Infinite loop in parsing in go/scanner
Details: 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.
References: https://go.dev/issue/59180, https://go.dev/cl/482078, https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.19.8
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
