{"api_version":"1","generated_at":"2026-04-27T14:26:45+00:00","cve":"CVE-2021-41945","urls":{"html":"https://cve.report/CVE-2021-41945","api":"https://cve.report/api/cve/CVE-2021-41945.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41945","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41945"},"summary":{"title":"CVE-2021-41945","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`.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2022-04-28 14:15:00","updated_at":"2022-10-12 02:40:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/encode/httpx/issues/2184","name":"https://github.com/encode/httpx/issues/2184","refsource":"MISC","tags":[],"title":"Some URL can make httpx use URL with wrong info · Issue #2184 · encode/httpx · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/encode/httpx","name":"https://github.com/encode/httpx","refsource":"MISC","tags":[],"title":"GitHub - encode/httpx: A next generation HTTP client for Python. ????","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/encode/httpx/discussions/1831","name":"https://github.com/encode/httpx/discussions/1831","refsource":"MISC","tags":[],"title":"Potential security issue by abuse the URL object · Discussion #1831 · encode/httpx · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571","name":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571","refsource":"MISC","tags":[],"title":"httpx PoC · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://encode.com","name":"http://encode.com","refsource":"MISC","tags":[],"title":"Encode | Security Analytics & Response Orchestration","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/encode/httpx/releases/tag/0.23.0","name":"https://github.com/encode/httpx/releases/tag/0.23.0","refsource":"MISC","tags":[],"title":"Release Version 0.23.0 · encode/httpx · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41945","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41945","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"41945","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"encode","cpe5":"httpx","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41945","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"encode","cpe5":"httpx","cpe6":"1.0.0","cpe7":"beta0","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41945","vulnerable":"1","versionEndIncluding":"0.19.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"encode","cpe5":"httpx","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-41945","qid":"182684","title":"Debian Security Update for httpx (CVE-2021-41945)"}]},"source_records":{"cve_program":{"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":[{"url":"http://encode.com","refsource":"MISC","name":"http://encode.com"},{"url":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571","refsource":"MISC","name":"https://gist.github.com/lebr0nli/4edb76bbd3b5ff993cf44f2fbce5e571"},{"url":"https://github.com/encode/httpx","refsource":"MISC","name":"https://github.com/encode/httpx"},{"url":"https://github.com/encode/httpx/discussions/1831","refsource":"MISC","name":"https://github.com/encode/httpx/discussions/1831"},{"refsource":"MISC","name":"https://github.com/encode/httpx/issues/2184","url":"https://github.com/encode/httpx/issues/2184"},{"refsource":"MISC","name":"https://github.com/encode/httpx/releases/tag/0.23.0","url":"https://github.com/encode/httpx/releases/tag/0.23.0"}]}},"nvd":{"publishedDate":"2022-04-28 14:15:00","lastModifiedDate":"2022-10-12 02:40:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":6.4},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:encode:httpx:*:*:*:*:*:python:*:*","versionEndExcluding":"0.23.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"41945","Ordinal":"217771","Title":"CVE-2021-41945","CVE":"CVE-2021-41945","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"41945","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}