GHSA-cmc7-mfmr-xqrx

Suggest an improvement
Source
https://github.com/advisories/GHSA-cmc7-mfmr-xqrx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-cmc7-mfmr-xqrx/GHSA-cmc7-mfmr-xqrx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cmc7-mfmr-xqrx
Aliases
Published
2021-04-07T21:01:25Z
Modified
2024-10-21T21:23:38.100628Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Logic error in authentication in proxy.py
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-287",
        "CWE-480",
        "CWE-697"
    ],
    "github_reviewed_at": "2021-04-06T21:58:49Z",
    "nvd_published_at": "2021-01-11T05:15:00Z",
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

PyPI / proxy-py

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.1

Affected versions

0.*
0.1
0.2
0.3
1.*
1.0.0
1.1.0
1.1.1
2.*
2.0.0
2.1.1
2.1.2
2.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-cmc7-mfmr-xqrx/GHSA-cmc7-mfmr-xqrx.json"