CVE-2021-3116: Logic error in authentication in proxy.py
(updated )
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
- cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication
- github.com/abhinavsingh/proxy.py
- github.com/abhinavsingh/proxy.py/commit/bff171ec26d826ae1d22d2466eaf9d8bdbf059d3
- github.com/abhinavsingh/proxy.py/pull/482
- github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46
- github.com/advisories/GHSA-cmc7-mfmr-xqrx
- github.com/pypa/advisory-database/tree/main/vulns/proxy-py/PYSEC-2021-46.yaml
- nvd.nist.gov/vuln/detail/CVE-2021-3116
- pypi.org/project/proxy.py/2.3.1/
Detect and mitigate CVE-2021-3116 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →