Vulnerability · Published Oct 14, 2022 · Assigned by Go

CVE-2022-32149Denial of service via crafted Accept-Language header in golang.org/x/text/language

High 7.5

In plain English

A high-severity security flaw in golang.org/x/text/language from golang.org/x/text. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.8%top 20.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20docker-cli-compose2.15.1-r0ALPINE-CVE-2022-32149
Alpine:v3.21docker-cli-compose2.15.1-r0ALPINE-CVE-2022-32149
Alpine:v3.22docker-cli-compose2.15.1-r0ALPINE-CVE-2022-32149
Alpine:v3.23docker-cli-compose2.15.1-r0ALPINE-CVE-2022-32149
Alpine:v3.24docker-cli-compose2.15.1-r0ALPINE-CVE-2022-32149
Alpine:v3.20gitea1.17.3-r0ALPINE-CVE-2022-32149
Alpine:v3.21gitea1.17.3-r0ALPINE-CVE-2022-32149
Alpine:v3.22gitea1.17.3-r0ALPINE-CVE-2022-32149
Alpine:v3.23gitea1.17.3-r0ALPINE-CVE-2022-32149
Alpine:v3.24gitea1.17.3-r0ALPINE-CVE-2022-32149
Debian:12golang-golang-x-text0.3.8-1DEBIAN-CVE-2022-32149
Debian:13golang-golang-x-text0.3.8-1DEBIAN-CVE-2022-32149
Debian:14golang-golang-x-text0.3.8-1DEBIAN-CVE-2022-32149
Gogolang.org/x/text0.3.8GO-2022-1059
Gogolang.org/x/text0.3.8GHSA-69ch-w2m2-3vjp
Ubuntu:22.04:LTSgolang-golang-x-text0.3.7-1ubuntu0.20.04.1UBUNTU-CVE-2022-32149
Ubuntu:22.04:LTSgolang-golang-x-text0.3.7-1ubuntu0.20.04.1USN-5873-1

Affected products (as reported)

VendorProductVersions
golang.org/x/text golang.org/x/text/language 0 – before 0.3.8

References