{"api_version":"1","generated_at":"2026-07-23T14:54:28+00:00","cve":"CVE-2021-3116","urls":{"html":"https://cve.report/CVE-2021-3116","api":"https://cve.report/api/cve/CVE-2021-3116.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3116","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3116"},"summary":{"title":"CVE-2021-3116","description":"before_upstream_connection in AuthPlugin in http/proxy/auth.py in proxy.py before 2.3.1 accepts incorrect Proxy-Authorization header data because of a boolean confusion (and versus or).","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-01-11 05:15:00","updated_at":"2021-01-14 15:09:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://pypi.org/project/proxy.py/2.3.1/#history","name":"https://pypi.org/project/proxy.py/2.3.1/#history","refsource":"MISC","tags":["Product","Third Party Advisory"],"title":"proxy.py · PyPI","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/","name":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"[CVE-2021-3116] proxy.py 2.3.0 — Broken basic authentication","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46","name":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Fix basic auth condition by abhinavsingh · Pull Request #482 · abhinavsingh/proxy.py · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3116","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3116","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3116","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"proxy.py_project","cpe5":"proxy.py","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3116","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"proxy.py_project","cpe5":"proxy.py","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3116","qid":"982815","title":"Python (pip) Security Update for proxy.py (GHSA-cmc7-mfmr-xqrx)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-3116","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":"before_upstream_connection in AuthPlugin in http/proxy/auth.py in proxy.py before 2.3.1 accepts incorrect Proxy-Authorization header data because of a boolean confusion (and versus or)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/","refsource":"MISC","name":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/"},{"url":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46","refsource":"MISC","name":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46"},{"url":"https://pypi.org/project/proxy.py/2.3.1/#history","refsource":"MISC","name":"https://pypi.org/project/proxy.py/2.3.1/#history"}]}},"nvd":{"publishedDate":"2021-01-11 05:15:00","lastModifiedDate":"2021-01-14 15:09:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.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:proxy.py_project:proxy.py:*:*:*:*:*:*:*:*","versionEndExcluding":"2.3.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3116","Ordinal":"198555","Title":"CVE-2021-3116","CVE":"CVE-2021-3116","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3116","Ordinal":"1","NoteData":"before_upstream_connection in AuthPlugin in http/proxy/auth.py in proxy.py before 2.3.1 accepts incorrect Proxy-Authorization header data because of a boolean confusion (and versus or).","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3116","Ordinal":"2","NoteData":"2021-01-11","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3116","Ordinal":"3","NoteData":"2021-01-11","Type":"Other","Title":"Modified"}]}}}