Incorrect Regular Expression in Websocket-extensions - CVE-2020-7663
Published: January 25, 2023
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
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
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
- https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions
- https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5g2
- https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131892418838b
- https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830
- https://lists.debian.org/debian-lts-announce/2020/08/msg00031.html
- https://usn.ubuntu.com/4502-1/