Bug 1595690 (CVE-2018-1000518)

Summary: CVE-2018-1000518 python-websockets: Improper handling of highly compressed data
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jujens
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-websockets 5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-25 09:46:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1595691    
Bug Blocks:    

Description Andrej Nemec 2018-06-27 11:29:58 UTC
python-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.

Upstream issue:

https://github.com/aaugustin/websockets/pull/407

Upstream patch:

https://github.com/aaugustin/websockets/pull/407/commits/5b96bdc9afbff9e9587be25a3af5933efbbafe1a

Comment 1 Andrej Nemec 2018-06-27 11:30:21 UTC
Created python-websockets tracking bugs for this issue:

Affects: fedora-28 [bug 1595691]