Live threats

All CVEs / Proxy.py Project

CVE-2021-3116Proxy.py Project Proxy.py

High 7.5 No auth needed

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Proxy.py.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
proxy.py_projectproxy.py< 2.3.1

Official sources

References

Links published by the sources. Open them with care.