PT-2019-1855 · Rails+1 · Action View+1

Published

2019-03-13

·

Updated

2024-06-15

·

CVE-2019-5419

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Action View (Rails) versions prior to 5.2.2.1 Action View (Rails) versions prior to 5.1.6.2 Action View (Rails) versions prior to 5.0.7.2 Action View (Rails) versions prior to 4.2.11.1
Description The issue is related to errors in processing HTTP Accept headers, which can cause Action View to consume 100% CPU, making the server unresponsive. This can be exploited by a remote attacker to cause a denial of service. Specially crafted accept headers can cause the Action View template location code to consume 100% CPU, causing the server to be unable to process requests.
Recommendations For versions prior to 5.2.2.1, upgrade to version 5.2.2.1 or later. For versions prior to 5.1.6.2, upgrade to version 5.1.6.2 or later. For versions prior to 5.0.7.2, upgrade to version 5.0.7.2 or later. For versions prior to 4.2.11.1, upgrade to version 4.2.11.1 or later. As a temporary workaround, consider wrapping render calls with respond to blocks to mitigate the issue. Alternatively, a monkey patch can be applied in an initializer to filter formats and prevent the vulnerability.

Exploit

Fix

DoS

Allocation of Resources Without Limits

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2019-01507
CVE-2019-5419
DLA-1739-1
GHSA-M63J-WH5W-C252
OPENSUSE-SU-2019:1344-1
OPENSUSE-SU-2019:1527-1
OPENSUSE-SU-2019:1824-1
OPENSUSE-SU-2019_1344-1
OPENSUSE-SU-2019_1527-1
OPENSUSE-SU-2019_1824-1
OPENSUSE-SU-2020:1993-1
OPENSUSE-SU-2020:2000-1
OPENSUSE-SU-2020_1993-1
OPENSUSE-SU-2020_2000-1
OPENSUSE-SU-2024:10589-1
RHSA-2019:0796
RHSA-2019:1147
RHSA-2019:1149
RHSA-2019:1289
SUSE-SU-2019:0915-1
SUSE-SU-2019:1381-1
SUSE-SU-2019:1973-1
SUSE-SU-2020:3036-1
SUSE-SU-2020:3147-1
SUSE-SU-2020:3160-1

Affected Products

Action View
Suse