CVE-2021-38561

HIGHCVSS 7.5/10EPSS 1.36%

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
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
1.36%

68.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GolangText< 0.3.7

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.
How severe is CVE-2021-38561?
CVE-2021-38561 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.36% probability of exploitation in the next 30 days.
How do I fix CVE-2021-38561?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-38561?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST