GHSA-ppp9-7jff-5vj2

golang.org/x/text/language Out-of-bounds Read vulnerability

En bref

Publiée
Mise à jour
CVE
CVE-2021-38561
Alias
GO-2021-0113
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Paquets affectés

PaquetVersions
Go · golang.org/x/textintroduced 0, fixed 0.3.7

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database