Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1wcHA5LTdqZmYtNXZqMs4AAwmL
golang.org/x/text/language Out-of-bounds Read vulnerability
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.
Permalink: https://github.com/advisories/GHSA-ppp9-7jff-5vj2JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wcHA5LTdqZmYtNXZqMs4AAwmL
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: 7 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-ppp9-7jff-5vj2, CVE-2021-38561
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-38561
- https://deps.dev/advisory/OSV/GO-2021-0113
- https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f
- https://groups.google.com/g/golang-announce
- https://pkg.go.dev/golang.org/x/text/language
- https://go.dev/cl/340830
- https://pkg.go.dev/vuln/GO-2021-0113
- https://github.com/advisories/GHSA-ppp9-7jff-5vj2
Affected Packages
go:golang.org/x/text
Dependent packages: 113,820Dependent repositories: 280,468
Downloads:
Affected Version Ranges: < 0.3.7
Fixed in: 0.3.7
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6
All unaffected versions: 0.3.7, 0.3.8, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0