CVE Vulnerabilities

CVE-2018-12121

Uncontrolled Resource Consumption

Published: Nov 28, 2018 | Modified: Dec 27, 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
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
MEDIUM
root.io logo minimus.io logo echo.ai logo

Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Denial of Service with large HTTP headers: By using a combination of many requests with maximum sized headers (almost 80 KB per connection), and carefully timed completion of the headers, it is possible to cause the HTTP server to abort from heap allocation failure. Attack potential is mitigated by the use of a load balancer or other proxy layer.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
Node.jsNodejs6.0.0 (including)6.15.0 (excluding)
Node.jsNodejs8.0.0 (including)8.14.0 (excluding)
Node.jsNodejs10.0.0 (including)10.14.0 (excluding)
Node.jsNodejs11.0.0 (including)11.3.0 (excluding)
Red Hat Enterprise Linux 7RedHathttp-parser-0:2.7.1-8.el7*
Red Hat Enterprise Linux 8RedHathttp-parser-0:2.8.0-5.el8*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs8-nodejs-0:8.16.0-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs10-0:3.2-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs10-nodejs-0:10.16.3-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-nodejs8-nodejs-0:8.16.0-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-nodejs8-nodejs-0:8.16.0-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-nodejs10-0:3.2-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-nodejs10-nodejs-0:10.16.3-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-nodejs8-nodejs-0:8.16.0-1.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-nodejs10-0:3.2-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-nodejs10-nodejs-0:10.16.3-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-nodejs10-0:3.2-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-nodejs10-nodejs-0:10.16.3-3.el7*
NodejsUbuntubionic*
NodejsUbuntucosmic*
NodejsUbuntutrusty*
NodejsUbuntutrusty/esm*
NodejsUbuntuupstream*
NodejsUbuntuxenial*

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