NameCVE-2021-38561 in 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-golang-x-text (PTS)bullseye0.3.6-1vulnerable
sid, trixie0.14.0-2fixed
golang-x-text (PTS)buster0.3.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[bullseye] - golang-golang-x-text <no-dsa> (Minor issue)
[buster] - golang-x-text <postponed> (Limited support, minor issue, follow bullseye DSAs/point-releases)

Search for package or bug name: Reporting problems