CVE-2021-38561

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
26/12/2022
Last modified:
05/01/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:golang:text:*:*:*:*:*:*:*:* 0.3.7 (excluding)