CVE Vulnerabilities

CVE-2018-8777

Uncontrolled Resource Consumption

Published: Apr 03, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, an attacker can pass a large HTTP request with a crafted header to WEBrick server or a crafted body to WEBrick server/handler and cause a denial of service (memory consumption).

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
RubyRuby-lang2.2.0 (including)2.2.10 (excluding)
RubyRuby-lang2.3.0 (including)2.3.7 (excluding)
RubyRuby-lang2.4.0 (including)2.4.4 (excluding)
RubyRuby-lang2.5.0 (including)2.5.1 (excluding)
RubyRuby-lang2.6.0-preview1 (including)2.6.0-preview1 (including)
Red Hat Enterprise Linux 7RedHatruby-0:2.0.0.648-36.el7*
Red Hat Enterprise Linux 7.4 Advanced Update SupportRedHatruby-0:2.0.0.648-35.el7_4*
Red Hat Enterprise Linux 7.4 Telco Extended Update SupportRedHatruby-0:2.0.0.648-35.el7_4*
Red Hat Enterprise Linux 7.4 Update Services for SAP SolutionsRedHatruby-0:2.0.0.648-35.el7_4*
Red Hat Enterprise Linux 7.5 Extended Update SupportRedHatruby-0:2.0.0.648-35.el7_5*
Red Hat Enterprise Linux 7.6 Extended Update SupportRedHatruby-0:2.0.0.648-36.el7_6*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHatrh-ruby23-ruby-0:2.3.8-69.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHatrh-ruby24-ruby-0:2.4.5-91.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Ruby1.9.1Ubuntutrusty*
Ruby2.0Ubuntutrusty*
Ruby2.3Ubuntuartful*
Ruby2.3Ubuntuesm-infra/xenial*
Ruby2.3Ubuntuxenial*
Ruby2.5Ubuntubionic*
Ruby2.5Ubuntudevel*
Ruby2.5Ubuntuesm-infra/bionic*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References