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.
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.
Link | Tags |
---|---|
https://go.dev/issue/59180 | patch issue tracking |
https://go.dev/cl/482078 | patch issue tracking |
https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8 | vendor advisory mailing list |
https://pkg.go.dev/vuln/GO-2023-1702 | vendor advisory |
https://security.gentoo.org/glsa/202311-09 | |
https://security.netapp.com/advisory/ntap-20241129-0004/ |