Infinite Loop Vulnerability in Go Language's x/text Package
CVE-2020-14040
7.5HIGH
What is CVE-2020-14040?
The x/text package in Go prior to version 0.3.3 contains a vulnerability that allows an attacker to exploit the UTF-16 decoder. By providing specific byte sequences to a decoder set with UseBOM or ExpectBOM, this can trigger an infinite loop when the String function is called on the Decoder or when the Decoder interacts with golang.org/x/text/transform.String. This could lead to application crashes or resource exhaustion, making it critical for users to update to version 0.3.3 or later.