{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-41945","published":"2022-04-28T14:15:07.617000Z","last_modified":"2026-07-09T01:17:04.390000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:encode:httpx:*:*:*:*:*:python:*:*","part":"a","vendor":"encode","product":"httpx","version_end_excluding":"0.23.0"}],"cpes_truncated":false,"vendors":["encode"],"products":["encode/httpx"],"epss":{"score":0.02118,"percentile":0.82549,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h8pj-cxx2-jfg2","ecosystem":"PyPI","name":"httpx","purl":"pkg:pypi/httpx","ranges":[{"introduced":"0","fixed":"0.23.0"}],"versions":["0.0.1","0.10.0","0.10.1","0.11.0","0.11.1","0.12.0","0.12.1","0.13.0","0.13.0.dev1","0.13.0.dev2","0.13.1","0.13.2","0.13.3","0.13.dev0","0.14.0","0.14.1","0.14.2","0.14.3","0.15.0","0.15.1","0.15.2","0.15.3","0.15.4","0.15.5","0.16.0","0.16.1","0.17.0","0.17.1","0.18.0","0.18.1","0.18.2","0.19.0","0.20.0","0.21.0","0.21.1","0.21.2","0.21.3","0.22.0","0.6.7","0.6.8","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.8.0","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5"],"versions_truncated":false},{"advisory":"PYSEC-2022-183","ecosystem":"PyPI","name":"httpx","purl":"pkg:pypi/httpx","ranges":[{"introduced":"0","fixed":"0.20.0"}],"versions":["0.0.1","0.10.0","0.10.1","0.11.0","0.11.1","0.12.0","0.12.1","0.13.0","0.13.0.dev1","0.13.0.dev2","0.13.1","0.13.2","0.13.3","0.13.dev0","0.14.0","0.14.1","0.14.2","0.14.3","0.15.0","0.15.1","0.15.2","0.15.3","0.15.4","0.15.5","0.16.0","0.16.1","0.17.0","0.17.1","0.18.0","0.18.1","0.18.2","0.19.0","0.6.7","0.6.8","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.8.0","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5"],"versions_truncated":false}],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2021-41945/","html_en":"/en/cve/CVE-2021-41945/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41945","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41945"},"untrusted":{"vendor_name":"Encode","product_name":"Httpx","desc_en":"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`.","affected":[],"references":[{"url":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/encode/httpx","tags":["Product","Third Party Advisory"]},{"url":"https://github.com/encode/httpx/discussions/1831","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/encode/httpx/issues/2184","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/encode/httpx/releases/tag/0.23.0","tags":["Release Notes","Third Party Advisory"]}]}}