CVE-2021-3116Proxy.py Project Proxy.py
High 7.5 No auth needed
Follow: this CVE · Proxy.py Project · Proxy.py Project Proxy.py We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Jan 11, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-697
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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).
What to do
- Apply the vendor's security update for Proxy.py.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | proxy-py |
< 2.3.1 |
2.3.1 |
pip install "proxy-py>=2.3.1" |
| PyPI | proxy-py |
< 2.3.1 |
2.3.1 |
pip install "proxy-py>=2.3.1" |
Per OSV / GitHub Advisories (GHSA-cmc7-mfmr-xqrx, PYSEC-2021-46). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| proxy.py_project | proxy.py | < 2.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- cardaci.xyz Exploit Third Party Advisory
- github.com Patch
- pypi.org Product