Incorrect Regular Expression in Websocket-extensions - CVE-2020-7663

 

Incorrect Regular Expression in Websocket-extensions - CVE-2020-7663

Published: January 25, 2023


Vulnerability identifier: #VU71542
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-7663
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing  a malicious payload with the Sec-WebSocket-Extensions header. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Affected software

Websocket-extensions
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise High Availability
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
Ubuntu
openEuler
ruby-websocket-extensions (Ubuntu package)
rubygem-websocket-extensions
rubygem-websocket-extensions-doc
ruby2.5-rubygem-websocket-extensions
ruby2.5-rubygem-websocket-extensions-doc

How to mitigate CVE-2020-7663

Install update from vendor's website.

ruby-websocket-extensions (Ubuntu package) - addressed in versions 0.1.2-1+deb9u1build0.16.04.1, 0.1.2-1+deb9u1build0.18.04.1, 0.1.2-1+deb9u1build0.20.04.1
rubygem-websocket-extensions - update to 0.1.2-2
rubygem-websocket-extensions-doc - update to 0.1.2-2
ruby2.5-rubygem-websocket-extensions - update to 0.1.3-150000.3.4.1
ruby2.5-rubygem-websocket-extensions-doc - update to 0.1.3-150000.3.4.1

External References

Related Security Bulletins