GO-2020-0015

Infinite loop when decoding some inputs in golang.org/x/text

En bref

Publiée
Mise à jour
CVE
CVE-2020-14040
Alias
GHSA-5rcv-m4m3-hfh7

Description

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 transform.String. If used to parse user supplied input, this may be used as a denial of service vector.

Paquets affectés

PaquetVersions
Go · golang.org/x/textintroduced 0, fixed 0.3.3

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database