Lucene search

K
gitlabHttps://gitlab.com/gitlab-org/security-products/gemnasium-dbGITLAB-D899879055E0CEE1264C3999920643D5
HistoryMay 18, 2021 - 12:00 a.m.

Loop with Unreachable Exit Condition ('Infinite Loop')

2021-05-1800:00:00
https://gitlab.com/gitlab-org/security-products/gemnasium-db
gitlab.com
29
vulnerability
utf-16 decoder
infinite loop
go
x/text package

EPSS

0.001

Percentile

45.6%

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.