CVE-2021-41945

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`.
References
Link Resource
https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571 Exploit Third Party Advisory
https://github.com/encode/httpx Product Third Party Advisory
https://github.com/encode/httpx/discussions/1831 Exploit Issue Tracking Third Party Advisory
https://github.com/encode/httpx/issues/2184 Exploit Issue Tracking Third Party Advisory
https://github.com/encode/httpx/releases/tag/0.23.0 Release Notes Third Party Advisory
https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571 Exploit Third Party Advisory
https://github.com/encode/httpx Product Third Party Advisory
https://github.com/encode/httpx/discussions/1831 Exploit Issue Tracking Third Party Advisory
https://github.com/encode/httpx/issues/2184 Exploit Issue Tracking Third Party Advisory
https://github.com/encode/httpx/releases/tag/0.23.0 Release Notes Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:encode:httpx:*:*:*:*:*:python:*:*

History

09 Jul 2026, 01:17

Type Values Removed Values Added
References
  • {'url': 'http://encode.com', 'tags': ['Vendor Advisory'], 'source': 'af854a3a-2127-422b-91ae-364da2661108'}

21 Nov 2024, 06:26

Type Values Removed Values Added
References () http://encode.com - Vendor Advisory () http://encode.com - Vendor Advisory
References () https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571 - Exploit, Third Party Advisory () https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571 - Exploit, Third Party Advisory
References () https://github.com/encode/httpx - Product, Third Party Advisory () https://github.com/encode/httpx - Product, Third Party Advisory
References () https://github.com/encode/httpx/discussions/1831 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/encode/httpx/discussions/1831 - Exploit, Issue Tracking, Third Party Advisory
References () https://github.com/encode/httpx/issues/2184 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/encode/httpx/issues/2184 - Exploit, Issue Tracking, Third Party Advisory
References () https://github.com/encode/httpx/releases/tag/0.23.0 - Release Notes, Third Party Advisory () https://github.com/encode/httpx/releases/tag/0.23.0 - Release Notes, Third Party Advisory

Information

Published : 2022-04-28 14:15

Updated : 2026-07-09 01:17


NVD link : CVE-2021-41945

Mitre link : CVE-2021-41945

CVE.ORG link : CVE-2021-41945


JSON object : View

Products Affected

encode

  • httpx
CWE
CWE-20

Improper Input Validation