Skip to content

← Public intelligence

PyPI package

websockets

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.2PyPIAmendedPublished

    Observable Timing Discrepancy in aaugustin websockets library

    CVE-2021-33880 · GHSA-8ch4-58qp-g3mp

    Affected
    • PyPI websockets < 9.1
    Fixed in
    9.1· Vendor fix available
    Issue
    The aaugustin websockets library before 9.1 for Python has an Observable Timing Discrepancy on servers when HTTP Basic Authentication is enabled with basicauthprotocolfactory(credentials=...). An attacker may be able to guess a password via a timing attack.

    Recommended action: Upgrade to 9.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 8.7PyPIAmendedPublished

    websockets is vulnerable to denial of service by memory exhaustion

    CVE-2018-1000518 · GHSA-6g87-ff9q-v847

    Affected
    • PyPI websockets >= 4.0, < 5.0
    Fixed in
    5.0· Vendor fix available
    Issue
    The Python websockets library version 4 contains a CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Servers and clients, unless configured with compression=None that can result in Denial of Service by memory exhaustion. This attack appears to be exploitable via sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in version 5.0

    Recommended action: Upgrade to 5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →