CVE-2021-41945
Summary
| CVE | CVE-2021-41945 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-04-28 14:15:07 UTC |
| Updated | 2026-07-09 01:17:04 UTC |
| 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`. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS: 0.020260000 probability, percentile 0.787250000 (date 2026-07-12)
Problem Types: CWE-20 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 2.0 | [email protected] | Primary | 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:P/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release Version 0.23.0 · encode/httpx · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Release Notes, Third Party Advisory |
| httpx PoC · GitHub | af854a3a-2127-422b-91ae-364da2661108 | gist.github.com | Exploit, Third Party Advisory |
| Some URL can make httpx use URL with wrong info · Issue #2184 · encode/httpx · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Issue Tracking, Third Party Advisory |
| Potential security issue by abuse the URL object · Discussion #1831 · encode/httpx · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Issue Tracking, Third Party Advisory |
| GitHub - encode/httpx: A next generation HTTP client for Python. ???? | af854a3a-2127-422b-91ae-364da2661108 | github.com | Product, Third Party Advisory |
| Encode | Security Analytics & Response Orchestration | MITRE | encode.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 182684 Debian Security Update for httpx (CVE-2021-41945)