Advisory

PYSEC-2021-95

Also known as: CVE-2021-33880, GHSA-8ch4-58qp-g3mp

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-06-06 15:15 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

websockets

PyPI · All systems

Affected

  • introduced 0, fixed 9.1 (ecosystem)

Fixed versions

9.1

Fix

  • Fixed version 9.1
    pip install --upgrade websockets==9.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences