cve.bz

CVE-2021-38561

7.5 highEPSS 1.5%

High (7.5) in golang text. EPSS 1.5% chance of exploitation in the next 30 days. Fixed in golang.org/x/text 0.3.7.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.5% chance of exploitation in the next 30 days; higher than 73% of CVEs (scores of 2026-10-31)
CWE
CWE-125
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ppp9-7jff-5vj2Gogolang.org/x/text<0.3.70.3.7
GO-2021-0113Gogolang.org/x/text<0.3.70.3.7

References

Check your stackJSON