GHSA-cmc7-mfmr-xqrx
Logic error in authentication in proxy.py
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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).
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-3116
- https://github.com/abhinavsingh/proxy.py/pull/482
- https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46
- https://github.com/abhinavsingh/proxy.py/commit/bff171ec26d826ae1d22d2466eaf9d8bdbf059d3
- https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication
- https://github.com/abhinavsingh/proxy.py
- https://github.com/advisories/GHSA-cmc7-mfmr-xqrx
- https://github.com/pypa/advisory-database/tree/main/vulns/proxy-py/PYSEC-2021-46.yaml
- https://pypi.org/project/proxy.py/2.3.1/#history