{"id":"CVE-2021-3116","aliases":["GHSA-cmc7-mfmr-xqrx","PYSEC-2021-46"],"url":"https://o3.security/vulnerability/CVE-2021-3116","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).","published":"2021-01-11T05:15:10.987Z","modified":"2026-07-09T01:25:14.471601Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"proxy-py","fixedVersion":"2.3.1"}],"fix":{"url":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46","label":"abhinavsingh/proxy.py#482"},"references":[{"type":"FIX","url":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46"},{"type":"PACKAGE","url":"https://pypi.org/project/proxy.py/2.3.1/#history"},{"type":"EVIDENCE","url":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:25:14.471601Z"}}