Skip to content
OpenAdvisories
High · 7.5 CVE-2018-1000518 EUVD-2018-0146GHSA-6g87-ff9q-v847PYSEC-2018-79

websockets is vulnerable to denial of service by memory exhaustion

Published Jun 26, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

aaugustin websockets 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 appear to be exploitable via Sending a specially crafted frame on an established connection. This vulnerability appears to have been fixed in 5.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP5 azure-cli-core 2.17.1-150100.6.18.1 SUSE-SU-2023:2783-1
SLES 15 SP5 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP5 python-humanfriendly 10.0-150100.6.3.3 SUSE-SU-2023:2783-1
SLES 15 SP5 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP5 python-jsondiff 1.3.0-150100.3.6.3 SUSE-SU-2023:2783-1
SLES 15 SP5 python-knack 0.9.0-150100.3.7.3 SUSE-SU-2023:2783-1
SLES 15 SP5 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES 15 SP5 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP4 azure-cli-core 2.17.1-150100.6.18.1 SUSE-SU-2023:2783-1
SLES 15 SP4 python-Deprecated 1.2.13-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-PyGithub 1.43.5-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-aiocontextvars 0.2.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-avro 1.11.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP4 python-cryptography-vectors 3.3.2-150100.3.11.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-humanfriendly 10.0-150100.6.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP4 python-jsondiff 1.3.0-150100.3.6.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-knack 0.9.0-150100.3.7.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-opencensus 0.8.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-opencensus-context +1 0.1.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-opentelemetry-api 1.5.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-websockets 9.1-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP4 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP3 azure-cli-core 2.17.1-150100.6.18.1 SUSE-SU-2023:2783-1
SLES 15 SP3 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP3 python-Deprecated 1.2.13-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-PyGithub 1.43.5-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-aiocontextvars 0.2.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-avro 1.11.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP3 python-humanfriendly 10.0-150100.6.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP3 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP3 python-jsondiff 1.3.0-150100.3.6.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-knack 0.9.0-150100.3.7.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-opencensus 0.8.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-opencensus-context +1 0.1.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-opentelemetry-api 1.5.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-websockets 9.1-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP3 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP2 azure-cli-core 2.17.1-150100.6.18.1 SUSE-SU-2023:2783-1
SLES 15 SP2 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP2 python-Deprecated 1.2.13-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-PyGithub 1.43.5-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-aiocontextvars 0.2.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-avro 1.11.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP2 python-humanfriendly 10.0-150100.6.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP2 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP2 python-jsondiff 1.3.0-150100.3.6.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-knack 0.9.0-150100.3.7.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-opencensus +1 0.8.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-opencensus-context +1 0.1.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-opentelemetry-api 1.5.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-psutil 5.9.1-150100.6.6.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-pytest 3.10.1-150000.7.5.1 SUSE-SU-2023:2783-1
SLES 15 SP2 python-requests 2.25.1-150100.6.13.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-websockets 9.1-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP2 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP1 azure-cli-core 2.17.1-150100.6.18.1 SUSE-SU-2023:2783-1
SLES 15 SP1 grpc 1.25.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 protobuf 3.9.2-150100.8.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP1 python-Deprecated 1.2.13-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-PyGithub 1.43.5-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-Twisted 17.9.0-150000.3.8.1 SUSE-SU-2023:2783-1
SLES 15 SP1 python-avro 1.11.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP1 python-cryptography 3.3.2-150100.7.15.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-cryptography-vectors 3.3.2-150100.3.11.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-google-api-core 1.14.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-googleapis-common-protos 1.6.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-grpcio-gcp +1 0.2.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-humanfriendly 10.0-150100.6.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP1 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES 15 SP1 python-jsondiff 1.3.0-150100.3.6.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-knack 0.9.0-150100.3.7.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-opencensus +1 0.8.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-opencensus-context +1 0.1.2-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-opentelemetry-api 1.5.0-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-psutil 5.9.1-150100.6.6.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-pytest 3.10.1-150000.7.5.1 SUSE-SU-2023:2783-1
SLES 15 SP1 python-requests 2.25.1-150100.6.13.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-websockets 9.1-150100.3.3.3 SUSE-SU-2023:2783-1
SLES 15 SP1 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP3 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP3 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP3 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP3 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP3 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-psutil 5.9.1-150100.6.6.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-requests 2.25.1-150100.6.13.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP2 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 protobuf 3.9.2-150100.8.3.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-Twisted 17.9.0-150000.3.8.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-cryptography 3.3.2-150100.7.15.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-psutil 5.9.1-150100.6.6.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-requests 2.25.1-150100.6.13.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLES for SAP 15 SP1 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLE Real Time 15 SP3 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE Real Time 15 SP3 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE Real Time 15 SP3 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLE Real Time 15 SP3 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE Real Time 15 SP3 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLE Real Time 15 SP3 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP3 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP3 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP3 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP3 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP3 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLE HPC 15 SP3 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-psutil 5.9.1-150100.6.6.3 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-requests 2.25.1-150100.6.13.3 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SLE HPC 15 SP2 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SLE HPC 15 SP1 protobuf 3.9.2-150100.8.3.3 SUSE-SU-2023:2783-2, SUSE-SU-2023:2783-1
SLE HPC 15 SP1 python-cryptography 3.3.2-150100.7.15.3 SUSE-SU-2023:2783-2, SUSE-SU-2023:2783-1
SLE HPC 15 SP1 python-psutil 5.9.1-150100.6.6.3 SUSE-SU-2023:2783-2, SUSE-SU-2023:2783-1
SLE HPC 15 SP1 python-requests 2.25.1-150100.6.13.3 SUSE-SU-2023:2783-2, SUSE-SU-2023:2783-1
SLE HPC 15 SP1 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-2, SUSE-SU-2023:2783-1
SUSE Manager Server 4.2 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Server 4.2 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Server 4.2 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Server 4.2 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Server 4.2 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SUSE Manager Server 4.2 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Proxy 4.2 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Proxy 4.2 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Proxy 4.2 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Proxy 4.2 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Manager Proxy 4.2 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SUSE Manager Proxy 4.2 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Linux Enterprise Installer Updates 15 SP1 protobuf 3.9.2-150100.8.3.3 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7.1 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7.1 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7.1 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7.1 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7.1 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7.1 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-Automat 0.6.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-incremental 17.5.0-150000.3.4.1 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-psutil 5.9.1-150100.6.6.3 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-requests 2.25.1-150100.6.13.3 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
SUSE Enterprise Storage 7 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-websockets 9.1-2.1 openSUSE-SU-2026:11240-1, openSUSE-SU-2024:14166-1, openSUSE-SU-2024:11280-1
openSUSE Leap 15.4 azure-cli-core 2.17.1-150100.6.18.1 SUSE-SU-2023:2783-1
openSUSE Leap 15.4 python-constantly 15.1.0-150000.3.4.1 SUSE-SU-2023:2783-1
openSUSE Leap 15.4 python-humanfriendly 10.0-150100.6.3.3 SUSE-SU-2023:2783-1
openSUSE Leap 15.4 python-hyperlink 17.2.1-150000.3.4.1 SUSE-SU-2023:2783-1
openSUSE Leap 15.4 python-jsondiff 1.3.0-150100.3.6.3 SUSE-SU-2023:2783-1
openSUSE Leap 15.4 python-knack 0.9.0-150100.3.7.3 SUSE-SU-2023:2783-1
openSUSE Leap 15.4 python-websocket-client 1.3.2-150100.6.7.3 SUSE-SU-2023:2783-1
openSUSE Leap 15.4 python-zope.interface 4.4.2-150000.3.4.1 SUSE-SU-2023:2783-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI websockets >= 4.0, < 5.0 5.0 GHSA-6g87-ff9q-v847
PyPI websockets < 5.0 5.0 PYSEC-2018-79

Advisories 5

References