CVE-2021-38561
Out-of-bounds read in golang.org/x/text/language
7.5
HIGH
CVSS 3.1
EPSS 0.05%
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.
How to fix CVE-2021-38561
To remediate CVE-2021-38561, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 0.3.7 or later
- —upgrade to 0.3.7 or later
Is CVE-2021-38561 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 0.3.7
- from 0, < 0.3.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |