Advisory

GHSA-cmc7-mfmr-xqrx

Also known as: CVE-2021-3116, PYSEC-2021-46

Summary

Logic error in authentication in proxy.py

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-07 21:01 UTC
Modified
2024-10-21 21:23 UTC

Affected packages and fixes

proxy-py

PyPI · All systems

Affected

  • introduced 0, fixed 2.3.1 (ecosystem)

Fixed versions

2.3.1

Fix

  • Fixed version 2.3.1
    pip install --upgrade proxy-py==2.3.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences