Security mailing lists by PureSourceCode

CVE-2021-41945

CRITICAL 9.1CVSS 3.1

Improper Input Validation in httpx

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.

Published
28 Apr 2022
Last modified
9 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-h8pj-cxx2-jfg2PYSEC-2022-183
Sources
NVDJSONOSV GHSA-h8pj-cxx2-jfg2JSONOSV PYSEC-2022-183JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD encode httpx
cpe:2.3:a:encode:httpx:*:*:*:*:*:python:*:*
< 0.23.0 0.23.0
OSV PyPI httpx < 0.23.0 0.23.0
OSV PyPI httpx < 0.20.0 0.20.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 28 Apr 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 Apr 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Apr 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.