CVE-2021-38561

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-38561
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-38561.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-38561
Aliases
Related
Published
2022-12-26T06:15:10Z
Modified
2024-10-12T08:17:53.274062Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / golang-golang-x-text

Package

Name
golang-golang-x-text
Purl
pkg:deb/debian/golang-golang-x-text?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.3.6-1
0.3.7-1~bpo11+1
0.3.7-1
0.3.8-1~bpo11+1
0.3.8-1
0.4.0-1
0.5.0-1
0.7.0-1
0.9.0-1
0.10.0-1
0.11.0-1
0.12.0-1
0.13.0-1
0.14.0-1
0.14.0-2
0.15.0-1
0.16.0-1~bpo12+1
0.16.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-golang-x-text

Package

Name
golang-golang-x-text
Purl
pkg:deb/debian/golang-golang-x-text?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-golang-x-text

Package

Name
golang-golang-x-text
Purl
pkg:deb/debian/golang-golang-x-text?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/golang/text

Affected ranges

Type
GIT
Repo
https://github.com/golang/text
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.2.0
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6