{"id":"CVE-2021-41945","state":"PUBLISHED","title":"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`.","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`.","publishedAt":"2022-04-28T13:22:10.000Z","updatedAt":"2026-07-09T00:15:07.517Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571","https://github.com/encode/httpx","https://github.com/encode/httpx/discussions/1831","https://github.com/encode/httpx/issues/2184","https://github.com/encode/httpx/releases/tag/0.23.0"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:01.697Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/41xxx/CVE-2021-41945.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-41945","state":"PUBLISHED","datePublished":"2022-04-28T13:22:10.000Z","dateUpdated":"2026-07-09T00:15:07.517Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-10-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"},{"url":"https://github.com/encode/httpx"},{"url":"https://github.com/encode/httpx/discussions/1831"},{"url":"https://github.com/encode/httpx/issues/2184"},{"url":"https://github.com/encode/httpx/releases/tag/0.23.0"}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2026-07-04T23:44:15.777Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-41945","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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`."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://encode.com","refsource":"MISC","url":"http://encode.com"},{"name":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571","refsource":"MISC","url":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"},{"name":"https://github.com/encode/httpx","refsource":"MISC","url":"https://github.com/encode/httpx"},{"name":"https://github.com/encode/httpx/discussions/1831","refsource":"MISC","url":"https://github.com/encode/httpx/discussions/1831"},{"name":"https://github.com/encode/httpx/issues/2184","refsource":"MISC","url":"https://github.com/encode/httpx/issues/2184"},{"name":"https://github.com/encode/httpx/releases/tag/0.23.0","refsource":"MISC","url":"https://github.com/encode/httpx/releases/tag/0.23.0"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/encode/httpx","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/encode/httpx/discussions/1831","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/encode/httpx/issues/2184","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/encode/httpx/releases/tag/0.23.0","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-09T00:15:07.517Z"}}]}}}