Advisory

GO-2021-0113

Also known as: CVE-2021-38561, GHSA-ppp9-7jff-5vj2

Summary

Out-of-bounds read in golang.org/x/text/language

Details

Due to improper index calculation, an incorrectly formatted language tag can cause Parse to panic via an out of bounds read. If Parse is used to process untrusted user inputs, this may be used as a vector for a denial of service attack.

Severity

Not rated by the source.

Dates

Published
2021-10-06 17:51 UTC
Modified
2026-02-04 02:31 UTC

Affected packages and fixes

golang.org/x/text

Go · All systems

Affected

  • introduced 0, fixed 0.3.7 (semver)

Fixed versions

0.3.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences