GitHub Advisoryadvisory · PyPI

GHSA-cmc7-mfmr-xqrx Logic error in authentication in proxy.py

HIGH Published 2021-04-07 Modified 2024-10-21 Official page ↗
Aliases
CVE-2021-3116
Ecosystem
PyPI
Packages
proxy.py
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-287, CWE-480, CWE-697
Reviewed
2021-04-06

Affected packages

• PyPI proxy.py: < 2.3.1 → fixed in 2.3.1

Description

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

Related

Alias · CVE (1)

  • CVE-2021-3116 before_upstream_connection in AuthPlugin in http/proxy/auth.py in proxy.py before 2.3.1 accepts incorrect Proxy-Authorization header data… vulnerability

Weakness · CWE (3)

  • CWE-287 Improper Authentication weakness
  • CWE-480 Use of Incorrect Operator weakness
  • CWE-697 Incorrect Comparison weakness

References