{"id":"GHSA-h8pj-cxx2-jfg2","summary":"Improper Input Validation in httpx","details":"Encode OSS httpx \u003c=1.0.0.beta0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`.","aliases":["CVE-2021-41945","PYSEC-2022-183"],"modified":"2025-02-13T05:29:38.315664Z","published":"2022-04-29T00:00:25Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-04-29T22:55:38Z","nvd_published_at":"2022-04-28T14:15:00Z","cwe_ids":["CWE-20"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41945"},{"type":"WEB","url":"https://github.com/encode/httpx/issues/2184"},{"type":"WEB","url":"https://github.com/encode/httpx/pull/2185"},{"type":"WEB","url":"https://github.com/encode/httpx/pull/2185/commits/e3c495a32c63d8aa7f1bcf3b7b27ee1a0ff428e1"},{"type":"WEB","url":"https://github.com/encode/httpx/commit/e9b0c85dd4f4e4469c57c4b38e5101fd12081b5c"},{"type":"WEB","url":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h8pj-cxx2-jfg2"},{"type":"PACKAGE","url":"https://github.com/encode/httpx"},{"type":"WEB","url":"https://github.com/encode/httpx/discussions/1831"},{"type":"WEB","url":"https://github.com/encode/httpx/releases/tag/0.23.0"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/httpx/PYSEC-2022-183.yaml"},{"type":"WEB","url":"http://encode.com"}],"affected":[{"package":{"name":"httpx","ecosystem":"PyPI","purl":"pkg:pypi/httpx"},"ranges":[{"type":"ECOSYSTEM","events":[{"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-h8pj-cxx2-jfg2/GHSA-h8pj-cxx2-jfg2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}