Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/text/language
  4. ›
  5. CVE-2022-32149

CVE-2022-32149: Missing Release of Resource after Effective Lifetime

October 14, 2022 (updated October 28, 2022)

An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.

References

  • github.com/advisories/GHSA-69ch-w2m2-3vjp
  • github.com/golang/go/issues/56152
  • github.com/golang/text/commit/434eadcdbc3b0256971992e8c70027278364c72c
  • go.dev/cl/442235
  • go.dev/issue/56152
  • groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ
  • nvd.nist.gov/vuln/detail/CVE-2022-32149
  • pkg.go.dev/vuln/GO-2022-1059

Code Behaviors & Features

Detect and mitigate CVE-2022-32149 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.8

Fixed versions

  • 0.3.8

Solution

Upgrade to version 0.3.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-772: Missing Release of Resource after Effective Lifetime

Source file

go/golang.org/x/text/language/CVE-2022-32149.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.