Vulnerability · Published Apr 28, 2022 · Assigned by mitre
CVE-2021-41945
Critical 9.1
In plain English
A critical-severity security flaw in the httpx package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)2.1%top 18.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Encode OSS httpx < 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | httpx | 0.23.0-1 | DEBIAN-CVE-2021-41945 |
| Debian:13 | httpx | 0.23.0-1 | DEBIAN-CVE-2021-41945 |
| Debian:14 | httpx | 0.23.0-1 | DEBIAN-CVE-2021-41945 |
| PyPI | httpx | 0.23.0 | GHSA-h8pj-cxx2-jfg2 |
| PyPI | httpx | 0.20.0 | PYSEC-2022-183 |
| Ubuntu:24.04:LTS | httpx | no fix listed | UBUNTU-CVE-2021-41945 |
| Ubuntu:25.10 | httpx | no fix listed | UBUNTU-CVE-2021-41945 |
| Ubuntu:26.04:LTS | httpx | no fix listed | UBUNTU-CVE-2021-41945 |
| Ubuntu:26.10 | httpx | no fix listed | UBUNTU-CVE-2021-41945 |