CVE-2021-38561

Aliases:GHSA-ppp9-7jff-5vj2GO-2021-0113
Modified
Published: 26 Dec 2022, 00:00
Last modified:14 Apr 2025, 16:15

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
0.05% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

26 Dec 2022, 00:00
Published
Vulnerability first disclosed
14 Apr 2025, 16:15
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.05% Percentile: 17%

Techniques & Countermeasures

  • CWE-125Out-of-bounds Read

    The product reads data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • golang.org/xtext

    < 0.3.7

  • golangtext

    < 0.3.7

References (7)