CVE-2021-38561

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
mitreCNA
---
---
CVEADP
---
---
CISA-ADPADP
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 11%
VendorProductVersion
golangtext
𝑥
< 0.3.7
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-golang-x-text
bullseye
no-dsa
buster
postponed
bookworm
0.7.0-1
fixed
sid
0.16.0-1
fixed
trixie
0.16.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang-golang-x-text
noble
Fixed 0.3.7-1
released
mantic
Fixed 0.3.7-1
released
lunar
Fixed 0.3.7-1
released
kinetic
Fixed 0.3.7-1
released
jammy
Fixed 0.3.7-1
released
impish
ignored
focal
Fixed 0.3.2-4ubuntu0.1
released
bionic
dne
xenial
dne
trusty
dne
golang-x-text
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
ignored
bionic
Fixed 0.0~git20170627.0.6353ef0-1ubuntu2.1
released
xenial
needed
trusty
dne