CVE-2021-41945

CRITICAL

httpx < 0.23.0 - Improper Input Validation in URL.copy_with

Title source: llm
STIX 2.1

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`.

References (6)

Core 6
Core References
Vendor Advisory x_refsource_misc
http://encode.com
Exploit, Third Party Advisory x_refsource_misc
https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571
Product, Third Party Advisory x_refsource_misc
https://github.com/encode/httpx
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/encode/httpx/discussions/1831
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/encode/httpx/issues/2184
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/encode/httpx/releases/tag/0.23.0

Scores

CVSS v3 9.1
EPSS 0.0218
EPSS Percentile 80.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Details

CWE
CWE-20
Status published
Products (2)
encode/httpx < 0.23.0
pypi/httpx 0 - 0.23.0PyPI
Published Apr 28, 2022
Tracked Since Feb 18, 2026