Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-33880

The aaugustin websockets library before 9.1 for Python has an Observable Timing Discrepancy on servers when HTTP Basic Authentication is enabled with basic_auth_protocol_factory(credentials=...). An attacker may be able to guess a password via a timing attack.

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

Source evidence

CVE-2021-33880

core-osv · Original source

Published 6 Jun 2021, 15:15 UTC

The aaugustin websockets library before 9.1 for Python has an Observable Timing Discrepancy on servers when HTTP Basic Authentication is enabled with basic_auth_protocol_factory(credentials=...). An attacker may be able to guess a password via a timing attack.

osv:CVE-2021-33880
Complete source record
{
  "id": "abc4a09849e71a0dc978cc4d91691b0f90c33ec2f4dc33368aab619f6a355e1d",
  "url": "https://osv.dev/vulnerability/CVE-2021-33880",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-33880",
    "summary": "The aaugustin websockets library before 9.1 for Python has an Observable Timing Discrepancy on servers when HTTP Basic Authentication is enabled with basic_auth_protocol_factory(credentials=...). An attacker may be able to guess a password via a timing attack.",
    "evidence": "osv:CVE-2021-33880",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-33880",
      "aliases": [
        "CVE-2021-33880",
        "GHSA-8ch4-58qp-g3mp",
        "PYSEC-2021-95"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/python-websockets/websockets",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d0f328888f3e695aa64d78dcf48af4ece219221b"
                },
                {
                  "fixed": "547a26b685d08cac0aa64e5e65f7867ac0ea9bc0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:websockets_project:websockets:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "547a26b685d08cac0aa64e5e65f7867ac0ea9bc0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.0.2",
            "9.0.1",
            "9.0",
            "8.1",
            "8.0.2",
            "8.0.1",
            "8.0",
            "7.0",
            "6.0",
            "5.0.1",
            "5.0",
            "4.0.1",
            "4.0",
            "3.4",
            "3.3",
            "3.2",
            "3.1",
            "3.0",
            "2.7",
            "2.6",
            "2.5",
            "2.4",
            "2.3",
            "2.2",
            "2.1",
            "2.0",
            "1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33880.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:44.708609666Z",
      "provider": "osv",
      "references": [
        "https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0",
        "https://www.oracle.com/security-alerts/cpuapr2022.html",
        "https://www.oracle.com/security-alerts/cpujan2022.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_policy",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.14.0"
                  },
                  {
                    "last_affected": "1.14.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.5.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_security_edge_protection_proxy",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.5.0"
                  },
                  {
                    "last_affected": "1.5.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_service_communication_proxy:1.14.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_service_communication_proxy",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.14.0"
                  },
                  {
                    "last_affected": "1.14.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.14.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_unified_data_repository",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.14.0"
                  },
                  {
                    "last_affected": "1.14.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-33880",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386056,
  "published_at": "2021-06-06T15:15:07.407+00:00"
}