#VU34248 Infinite loop


Published: 2020-06-17 | Updated: 2020-08-08

Vulnerability identifier: #VU34248

Vulnerability risk: Medium

CVSSv3.1:

CVE-ID: CVE-2020-14040

CWE-ID: CWE-835

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Apache Commons Text
Universal components / Libraries / Software for developers

Vendor: Apache Foundation

Description

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Apache Commons Text: 0.3.3


CPE

External links
http://groups.google.com/forum/#!topic/golang-announce/bXVeAmGOqz0


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability