Skip to main content
← All vulnerabilities
CVE-2021-38561GHSA-PPP9-7JFF-5VJ2GO-2021-0113

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • golang.org/x/textGo

    fixed in 0.3.7

References 4

groups.google.com

go.googlesource.com

deps.dev

pkg.go.dev