CVE-2021-38561
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0.3.7-1 |
| sid | Fixed | 0.3.7-1 |
| forky | Fixed | 0.3.7-1 |
| bullseye | Affected | โ |
| bookworm | Fixed | 0.3.7-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | golang.org/x/text | <0.3.7 | 0.3.7 |
References
- https://www.suse.com/security/cve/CVE-2021-38561.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-38561
- https://deps.dev/advisory/OSV/GO-2021-0113
- https://go.dev/cl/340830
- https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f
- https://groups.google.com/g/golang-announce
- https://pkg.go.dev/golang.org/x/text/language
- https://pkg.go.dev/vuln/GO-2021-0113
- https://security-tracker.debian.org/tracker/CVE-2021-38561
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.