NetSight
high7.5

CVE-2021-38561

golang.org/x/text/language Out-of-bounds Read vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogolang.org/x/text< 0.3.70.3.7

Affected products

VendorProductAffected versions
GolangText
before 0.3.7

Weakness classification

References