CVE-2021-38561

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-38561
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38561.json
Aliases
Related
Published
2022-12-26T06:15:10Z
Modified
2023-11-29T08:58:38.902805Z
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

Git / github.com/golang/text

Affected ranges

Type
GIT
Repo
https://github.com/golang/text
Events
Introduced
0The exact introduced commit is unknown
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