Resource exhaustion in Ruby - CVE-2018-8777

 

Resource exhaustion in Ruby - CVE-2018-8777

Published: April 5, 2018


Vulnerability identifier: #VU11539
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-8777
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists a large request in WEBrick. A remote attacker can send a large HTTP request with a crafted header to WEBrick server or a crafted body to WEBrick server/handler and cause the service to crash.

Affected software

Ruby
Debian Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power
macOS
Slackware Linux
Ubuntu
Opensuse
Fedora
EMC Integrated Data Protection Appliance
ruby (Alpine package)
libruby2.0 (Ubuntu package)
ruby2.0 (Ubuntu package)
ruby
Dell EMC Data Protection Search

How to mitigate CVE-2018-8777

Update to versions 2.2.10, 2.3.7, 2.4.4 or 2.5.1.

EMC Integrated Data Protection Appliance - update to 2.7.1
ruby (Alpine package) - update to 2.3.7-r0
Dell EMC Data Protection Search - update to 19.6.0
libruby2.0 (Ubuntu package) - update to 2.0.0.484-1ubuntu2.13+esm1
ruby2.0 (Ubuntu package) - update to 2.0.0.484-1ubuntu2.13+esm1
ruby - addressed in versions 2.4.4-88.fc26, 2.4.4-88.fc27, 2.4.4-89.fc27, 2.5.1-92.fc28

External References

Related Security Bulletins