CVE-2021-3116
HIGH 7.5CVSS 3.1Logic error in authentication in proxy.py
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
- 11 Jan 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-287CWE-480CWE-697
- Also known as
- GHSA-cmc7-mfmr-xqrxPYSEC-2021-46
- Sources
- NVDJSONOSV GHSA-cmc7-mfmr-xqrxJSONOSV PYSEC-2021-46JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | proxy.py_project | proxy.pycpe:2.3:a:proxy.py_project:proxy.py:*:*:*:*:*:*:*:* |
< 2.3.1 | 2.3.1 |
| OSV | PyPI | proxy-py | < 2.3.1 | 2.3.1 |
References
- https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/ · Exploit, Third Party Advisory, WEB, ADVISORY
- https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46 · Patch, WEB
- https://pypi.org/project/proxy.py/2.3.1/#history · Product, WEB, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-3116 · ADVISORY
- https://github.com/abhinavsingh/proxy.py/pull/482 · WEB
- https://github.com/abhinavsingh/proxy.py/commit/bff171ec26d826ae1d22d2466eaf9d8bdbf059d3 · WEB
- https://github.com/abhinavsingh/proxy.py · PACKAGE
- https://github.com/advisories/GHSA-cmc7-mfmr-xqrx · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/proxy-py/PYSEC-2021-46.yaml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Jan 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Jan 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Apr 2021)