ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2021-38561

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.

Affected packages

EcosystemPackageAffected versions
Debian:12golang-golang-x-text
All versions before 0.3.7-1 (fixed in 0.3.7-1)
Debian:13golang-golang-x-text
All versions before 0.3.7-1 (fixed in 0.3.7-1)
Debian:14golang-golang-x-text
All versions before 0.3.7-1 (fixed in 0.3.7-1)

References