—
PYSEC-2021-46
Quick fix
PYSEC-2021-46 — proxy-py: upgrade to the fixed version with the command below.
pip install --upgrade 'proxy-py>=2.3.1'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).
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://pypi.org/project/proxy.py/2.3.1/#history[PACKAGE]
- https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/[ADVISORY]
- https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46[WEB]
- https://github.com/advisories/GHSA-cmc7-mfmr-xqrx[ADVISORY]