[ASA-202106-26] python-websockets: private key recovery

Jonas Witschel diabonas at archlinux.org
Fri Jun 11 15:59:26 UTC 2021


Arch Linux Security Advisory ASA-202106-26
==========================================

Severity: Medium
Date    : 2021-06-09
CVE-ID  : CVE-2021-33880
Package : python-websockets
Type    : private key recovery
Remote  : Yes
Link    : https://security.archlinux.org/AVG-2040

Summary
=======

The package python-websockets before version 9.1-1 is vulnerable to
private key recovery.

Resolution
==========

Upgrade to 9.1-1.

# pacman -Syu "python-websockets>=9.1-1"

The problem has been fixed upstream in version 9.1.

Workaround
==========

None.

Description
===========

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.

Impact
======

A remote attacker could guess HTTP Basic Authentication passwords using
a timing attack.

References
==========

https://github.com/aaugustin/websockets/commit/547a26b685d08cac0aa64e5e65f7867ac0ea9bc0
https://security.archlinux.org/CVE-2021-33880
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20210611/0ff2296a/attachment.sig>


More information about the arch-security mailing list