{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3116","id":"CVE-2021-3116","title":"Logic error in authentication in proxy.py","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).","descriptionLong":"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).","published":"2021-01-11T05:00:49.000Z","updated":"2026-10-20T10:54:40.211843397Z","reserved":"2021-01-11T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"proxy-py","purl":"pkg:pypi/proxy-py","ranges":["<2.3.1"],"fixed":["2.3.1"],"advisory":"GHSA-cmc7-mfmr-xqrx"}],"cwes":["CWE-697","CWE-287","CWE-480"],"aliases":["GHSA-cmc7-mfmr-xqrx","PYSEC-2021-46"],"references":[{"url":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","advisory"]},{"url":"https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://pypi.org/project/proxy.py/2.3.1/#history","tags":["x_refsource_MISC","x_transferred","Product","package","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3116","tags":["advisory"]},{"url":"https://github.com/abhinavsingh/proxy.py/pull/482","tags":["web"]},{"url":"https://github.com/abhinavsingh/proxy.py/commit/bff171ec26d826ae1d22d2466eaf9d8bdbf059d3","tags":["web"]},{"url":"https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication","tags":["web"]},{"url":"https://github.com/abhinavsingh/proxy.py","tags":["package"]},{"url":"https://github.com/advisories/GHSA-cmc7-mfmr-xqrx","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/proxy-py/PYSEC-2021-46.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01694,"epssPercentile":0.7763,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3116","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3116","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3116","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cmc7-mfmr-xqrx","ok":true,"note":"GHSA-cmc7-mfmr-xqrx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3116","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}