VulnerabilityModified
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.
HIGH 7.5EPSS 1.36%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.36%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 1.36% probability · 70th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-125
- Affected
- golang/text
- Source
- cve@mitre.org
References
- https://deps.dev/advisory/OSV/GO-2021-0113Patch, Third Party Advisory
- https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56fMailing List, Patch, Vendor Advisory
- https://groups.google.com/g/golang-announceMailing List, Third Party Advisory
- https://pkg.go.dev/golang.org/x/text/languageProduct, Vendor Advisory
- https://deps.dev/advisory/OSV/GO-2021-0113Patch, Third Party Advisory
- https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56fMailing List, Patch, Vendor Advisory
- https://groups.google.com/g/golang-announceMailing List, Third Party Advisory
- https://pkg.go.dev/golang.org/x/text/languageProduct, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.