UBUNTU-CVE-2021-33880

Source
https://ubuntu.com/security/CVE-2021-33880
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33880.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-33880
Upstream
Published
2021-06-06T15:15:00Z
Modified
2026-01-20T17:29:56.128371Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

References

Affected packages

Ubuntu:16.04:LTS

python-websockets

Package

Name
python-websockets
Purl
pkg:deb/ubuntu/python-websockets@3.0-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.6-1

3.*

3.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-websockets",
            "binary_version": "3.0-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33880.json"

Ubuntu:18.04:LTS

python-websockets

Package

Name
python-websockets
Purl
pkg:deb/ubuntu/python-websockets@3.4-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.3-1
3.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-websockets",
            "binary_version": "3.4-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33880.json"

Ubuntu:20.04:LTS

python-websockets

Package

Name
python-websockets
Purl
pkg:deb/ubuntu/python-websockets@8.1-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*

7.0-1

8.*

8.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-websockets",
            "binary_version": "8.1-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33880.json"

Ubuntu:22.04:LTS

python-websockets

Package

Name
python-websockets
Purl
pkg:deb/ubuntu/python-websockets@9.1-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*

8.1-1

9.*

9.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-websockets",
            "binary_version": "9.1-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33880.json"

Ubuntu:24.04:LTS

python-websockets

Package

Name
python-websockets
Purl
pkg:deb/ubuntu/python-websockets@10.4-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-websockets",
            "binary_version": "10.4-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33880.json"

Ubuntu:25.10

python-websockets

Package

Name
python-websockets
Purl
pkg:deb/ubuntu/python-websockets@15.0.1-1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

14.*

14.1-1build1

15.*

15.0.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-websockets",
            "binary_version": "15.0.1-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33880.json"