Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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 because of a boolean confusion (and versus or).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3116
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:45 UTC · Revision 1

Source evidence

CVE-2021-3116

core-osv · Original source

Published 11 Jan 2021, 05:15 UTC

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

osv:CVE-2021-3116
Complete source record
{
  "id": "bb2db704c5586449b71b34249c8fc4e6257e89963d97769a2b0c856fe5083ce4",
  "url": "https://osv.dev/vulnerability/CVE-2021-3116",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3116",
    "summary": "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).",
    "evidence": "osv:CVE-2021-3116",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3116",
      "aliases": [
        "CVE-2021-3116",
        "GHSA-cmc7-mfmr-xqrx",
        "PYSEC-2021-46"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/abhinavsingh/proxy.py",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "82d562b7d6b068ea706634f97e6a086f5209df61"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:proxy.py_project:proxy.py:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3116.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:40.211843397Z",
      "provider": "osv",
      "references": [
        "https://github.com/abhinavsingh/proxy.py/pull/482/commits/9b00093288237f5073c403f2c4f62acfdfa8ed46",
        "https://pypi.org/project/proxy.py/2.3.1/#history",
        "https://cardaci.xyz/advisories/2021/01/10/proxy.py-2.3.0-broken-basic-authentication/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-3116",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385840,
  "published_at": "2021-01-11T05:15:10.987+00:00"
}