ADVISORIES

Ubuntu CVE Tracker

UBUNTU-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
Ubuntu:16.04:LTSgolang-x-text
All versions, no fix listed
Ubuntu:18.04:LTSgolang-x-text
All versions before 0.0~git20170627.0.6353ef0-1ubuntu2.1 (fixed in 0.0~git20170627.0.6353ef0-1ubuntu2.1)
Ubuntu:20.04:LTSgolang-golang-x-text
All versions before 0.3.2-4ubuntu0.1 (fixed in 0.3.2-4ubuntu0.1)
Ubuntu:20.04:LTSgolang-x-text
All versions, no fix listed
Ubuntu:22.04:LTSgolang-golang-x-text
All versions before 0.3.7-1 (fixed in 0.3.7-1)

References