{"id":"GHSA-cmc7-mfmr-xqrx","summary":"Logic error in authentication in proxy.py","details":"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).","aliases":["CVE-2021-3116","PYSEC-2021-46"],"modified":"2024-10-21T21:23:38.100628Z","published":"2021-04-07T21:01:25Z","database_specific":{"github_reviewed_at":"2021-04-06T21:58:49Z","nvd_published_at":"2021-01-11T05:15:00Z","cwe_ids":["CWE-287","CWE-480","CWE-697"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3116"},{"type":"WEB","url":"https://github.com/abhinavsingh/proxy.py/pull/482"},{"type":"WEB","url":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46"},{"type":"WEB","url":"https://github.com/abhinavsingh/proxy.py/commit/bff171ec26d826ae1d22d2466eaf9d8bdbf059d3"},{"type":"WEB","url":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication"},{"type":"PACKAGE","url":"https://github.com/abhinavsingh/proxy.py"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cmc7-mfmr-xqrx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/proxy-py/PYSEC-2021-46.yaml"},{"type":"WEB","url":"https://pypi.org/project/proxy.py/2.3.1/#history"}],"affected":[{"package":{"name":"proxy-py","ecosystem":"PyPI","purl":"pkg:pypi/proxy-py"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1"}]}],"versions":["0.1","0.2","0.3","1.0.0","1.1.0","1.1.1","2.0.0","2.1.1","2.1.2","2.2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-cmc7-mfmr-xqrx/GHSA-cmc7-mfmr-xqrx.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:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}