CVE Vulnerabilities

CVE-2019-5419

Uncontrolled Resource Consumption

Published: Mar 27, 2019 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
7.8 HIGH
AV:N/AC:L/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

There is a possible denial of service vulnerability in Action View (Rails) <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 where specially crafted accept headers can cause action view to consume 100% cpu and make the server unresponsive.

Weakness

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Affected Software

Name Vendor Start Version End Version
Rails Rubyonrails * 4.2.11.1 (excluding)
Rails Rubyonrails 5.0.0 (including) 5.0.7.2 (excluding)
Rails Rubyonrails 5.1.0 (including) 5.1.6.2 (excluding)
Rails Rubyonrails 5.2.0 (including) 5.2.2.1 (excluding)
CloudForms Management Engine 5.10 RedHat ansible-tower-0:3.4.3-1.el7at *
CloudForms Management Engine 5.10 RedHat cfme-0:5.10.3.3-1.el7cf *
CloudForms Management Engine 5.10 RedHat cfme-amazon-smartstate-0:5.10.3.3-1.el7cf *
CloudForms Management Engine 5.10 RedHat cfme-appliance-0:5.10.3.3-1.el7cf *
CloudForms Management Engine 5.10 RedHat cfme-gemset-0:5.10.3.3-1.el7cf *
CloudForms Management Engine 5.9 RedHat cfme-0:5.9.9.3-1.el7cf *
CloudForms Management Engine 5.9 RedHat cfme-amazon-smartstate-0:5.9.9.3-1.el7cf *
CloudForms Management Engine 5.9 RedHat cfme-appliance-0:5.9.9.3-1.el7cf *
CloudForms Management Engine 5.9 RedHat cfme-gemset-0:5.9.9.3-1.el7cf *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-ror50-rubygem-actionpack-1:5.0.1-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-ror42-rubygem-actionpack-1:4.2.6-5.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-ror50-rubygem-actionpack-1:5.0.1-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-ror42-rubygem-actionpack-1:4.2.6-5.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS RedHat rh-ror50-rubygem-actionpack-1:5.0.1-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS RedHat rh-ror42-rubygem-actionpack-1:4.2.6-5.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS RedHat rh-ror50-rubygem-actionpack-1:5.0.1-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS RedHat rh-ror42-rubygem-actionpack-1:4.2.6-5.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS RedHat rh-ror50-rubygem-actionpack-1:5.0.1-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS RedHat rh-ror42-rubygem-actionpack-1:4.2.6-5.el7 *
Rails Ubuntu bionic *
Rails Ubuntu cosmic *
Rails Ubuntu disco *
Rails Ubuntu esm-apps/bionic *
Rails Ubuntu esm-apps/xenial *
Rails Ubuntu upstream *
Rails Ubuntu xenial *
Rails-4.0 Ubuntu trusty *
Ruby-actionpack-3.2 Ubuntu trusty *
Ruby-activemodel-3.2 Ubuntu trusty *
Ruby-activerecord-3.2 Ubuntu trusty *
Ruby-activesupport-3.2 Ubuntu trusty *
Ruby-rails-3.2 Ubuntu trusty *

Extended Description

Limited resources include memory, file system storage, database connection pool entries, and CPU. If an attacker can trigger the allocation of these limited resources, but the number or size of the resources is not controlled, then the attacker could cause a denial of service that consumes all available resources. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding environment. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system. There are at least three distinct scenarios which can commonly lead to resource exhaustion:

Resource exhaustion problems are often result due to an incorrect implementation of the following situations:

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