CVE-2021-38561
Last modified
CVE-2021-38561 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Text | < 0.3.7 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-38561?
How severe is CVE-2021-38561?
How do I fix CVE-2021-38561?
Are you affected by CVE-2021-38561?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
