Lucene search

K
osvGoogleOSV:GO-2020-0015
HistoryApr 14, 2021 - 8:04 p.m.

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

2021-04-1420:04:52
Google
osv.dev
16
infinite loop
golang.org/x/text
utf16 decoder
denial of service
software security
user input

AI Score

7.3

Confidence

High

EPSS

0.001

Percentile

45.6%

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.