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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-38555An XML external entity (XXE) injection vulnerability was dis…9.1
- CVE-2021-38556includes/configure_client.php in RaspAP 2.6.6 allows attacke…8.8
- CVE-2021-38557raspap-webgui in RaspAP 2.6.6 allows attackers to execute co…8.8
- CVE-2021-38559DigitalDruid HotelDruid 3.0.2 has an XSS vulnerability in pr…6.1
- CVE-2021-3856ClassLoaderTheme and ClasspathThemeResourceProviderFactory a…4.3
- CVE-2021-38560Ivanti Service Manager 2021.1 allows reflected XSS via the a…6.1
- CVE-2021-38562Best Practical Request Tracker (RT) 4.2 before 4.2.17, 4.4 b…7.5
- CVE-2021-38563An issue was discovered in Foxit PDF Reader before 11.0.1 an…9.8
- CVE-2021-38564An issue was discovered in Foxit PDF Reader before 11.0.1 an…9.1
- CVE-2021-38565An issue was discovered in Foxit PDF Reader before 11.0.1 an…7.5
- CVE-2021-38566An issue was discovered in Foxit PDF Reader before 11.0.1 an…7.5
- CVE-2021-38567An issue was discovered in Foxit PDF Editor before 11.0.1 an…7.5
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
