Skip to content
OpenAdvisories
Critical · 9.1 CVE-2021-41945 EUVD-2022-0122GHSA-h8pj-cxx2-jfg2PYSEC-2022-183

Improper Input Validation in httpx

Published Apr 28, 2022 · Updated Jul 9, 2026 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 httpx 0.23.0-1 —
Debian 13 httpx 0.23.0-1 —
Debian 12 httpx 0.23.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 httpx No fix yet —
Ubuntu 26.04 LTS httpx No fix yet —
Ubuntu 25.10 httpx No fix yet —
Ubuntu 24.04 LTS httpx No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-httpx 0.28.1-2.1 openSUSE-SU-2025:14664-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI httpx < 0.23.0 0.23.0 GHSA-h8pj-cxx2-jfg2
PyPI httpx < 0.20.0 0.20.0 PYSEC-2022-183

Advisories 2

References