CVE-2018-7164: Memory exhaustion DoS on v9.x

Published Jun 12, 2018
·
Updated

Node.js versions 9.7.0 and later and 10.x are vulnerable and the severity is MEDIUM. A bug introduced in 9.7.0 increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. An attacker could use this cause a denial of service by sending tiny chunks of data in short succession. This vulnerability was restored by reverting to the prior behaviour.

Other sources

Versions 9.7.0 and later are vulnerable and the severity is MEDIUM. A bug introduced in 9.7.0 increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. An attacker could use this cause a denial of service by sending tiny chunks of data in short succession. This vulnerability was restored by reverting to the prior behavior.

All versions of Node.js 6.x (LTS "Boron") are NOT vulnerable

All versions of Node.js 8.x (LTS "Carbon") are NOT vulnerable

Versions of Node.js 9.7.0 and higher are vulnerable

All versions of Node.js 10.x (Current) are vulnerable

— Node.Js

Versions 9.7.0 and later are vulnerable and the severity is MEDIUM. A bug introduced in 9.7.0 increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. An attacker could use this cause a denial of service by sending tiny chunks of data in short succession. This vulnerability was restored by reverting to the prior behaviour.

— Node.Js

Affected Software

5 affected componentsFixes available
Nodejs Node.js>=9.7.0<9.11.2
Nodejs Node.js>=10.0.0<10.4.1
Node.js Node.js>=9.7.0<9.8.0, >=10.0.0<10.4.1
9.11.210.4.1
Node.js Node.js>=10.0.0<10.4.1
10.4.1
Node.js Node.js>=9.0.0<9.11.2
9.11.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.11.2Fixed in 10.4.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.4.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.11.2

Event History

Jun 12, 2018
CVE Published
via Node.js·11:00 PM
Data Sourced
via Node.js·11:00 PM
DescriptionSeverity
Data Sourced
via Node.js·11:51 PM
Affected Software
Jun 13, 2018
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionWeakness
Data Sourced
via NVD·04:29 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2018-7164?

The severity of CVE-2018-7164 is classified as MEDIUM.

2

How does CVE-2018-7164 impact Node.js?

CVE-2018-7164 increases memory consumption when reading from the network into JavaScript, potentially leading to a denial of service.

3

Which versions of Node.js are affected by CVE-2018-7164?

CVE-2018-7164 affects Node.js versions 9.7.0 to 9.11.2 and 10.0.0 to 10.4.1.

4

How can I mitigate CVE-2018-7164?

To mitigate CVE-2018-7164, upgrade Node.js to versions beyond 9.11.2 or 10.4.1.

5

Is CVE-2018-7164 a remote code execution vulnerability?

No, CVE-2018-7164 is primarily a denial of service vulnerability, not a remote code execution vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203