Critical severityNVD Advisory· Published Apr 28, 2022· Updated Aug 4, 2024
CVE-2021-41945
CVE-2021-41945
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
httpxPyPI | < 0.23.0 | 0.23.0 |
Affected products
3- Encode OSS/httpxdescription
- ghsa-coords2 versions
< 0.23.0+ 1 more
- (no CPE)range: < 0.23.0
- (no CPE)range: < 0.28.1-2.1
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
10- github.com/advisories/GHSA-h8pj-cxx2-jfg2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-41945ghsaADVISORY
- encode.comghsax_refsource_MISCWEB
- gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571ghsax_refsource_MISCWEB
- github.com/encode/httpx/commit/e9b0c85dd4f4e4469c57c4b38e5101fd12081b5cghsaWEB
- github.com/encode/httpx/issues/2184ghsax_refsource_MISCWEB
- github.com/encode/httpx/pull/2185ghsaWEB
- github.com/encode/httpx/pull/2185/commits/e3c495a32c63d8aa7f1bcf3b7b27ee1a0ff428e1ghsaWEB
- github.com/encode/httpx/releases/tag/0.23.0ghsax_refsource_MISCWEB
- github.com/pypa/advisory-database/tree/main/vulns/httpx/PYSEC-2022-183.yamlghsaWEB
News mentions
0No linked articles in our index yet.