nodejs: uncontrolled memory consumption when using the net.Socket as a stream
Published Jun 13, 2018
7.5
HIGHCVSS 3.1
EPSS 6.44%
Description
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.
Affected products
-
- Version 10.x+StatusaffectedConstraints-
- Version 9.7.X+StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The Node.js Project | Node.js | n/a |
|
No data.
Red Hat Enterprise Linux 8
nodejs
Not affected
Red Hat OpenShift Application Runtimes
nodejs
Not affected
Red Hat OpenShift Container Platform 3.10
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.10
logging-kibana
Not affected
Red Hat Software Collections
rh-nodejs4-nodejs
Not affected
Red Hat Software Collections
rh-nodejs6-nodejs
Not affected
Red Hat Software Collections
rh-nodejs8-nodejs
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | nodejs | Not affected | n/a |
| Red Hat OpenShift Application Runtimes | nodejs | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.10 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.10 | logging-kibana | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs4-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs8-nodejs | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.44% (0.06441) | 93.51th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.41% (0.06411) | 92.78th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.72% (0.00721) | 70.17th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.42% (0.02424) | 75.16th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.27% (0.00270) | 68.17th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.27% (0.00270) | 66.93th | v3 (v2023.03.01) |
| Jan 31, 2024 | 0.27% (0.00270) | 64.59th | v3 (v2023.03.01) |
| Dec 14, 2023 | 0.29% (0.00289) | 65.48th | v3 (v2023.03.01) |
| Nov 4, 2023 | 0.27% (0.00274) | 64.54th | v3 (v2023.03.01) |
| Jul 12, 2023 | 0.39% (0.00392) | 69.75th | v3 (v2023.03.01) |
| Jun 7, 2023 | 0.40% (0.00398) | 69.76th | v3 (v2023.03.01) |
| Apr 19, 2023 | 0.35% (0.00347) | 67.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00369) | 68.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.04% (0.01036) | 27.56th | v1 |
| Jan 6, 2022 | 1.04% (0.01036) | 26.95th | v1 |
| Sep 1, 2021 | 1.04% (0.01036) | 62.47th | v1 |
| Apr 14, 2021 | 1.04% (0.01036) | 0.00th | v1 |
References (7)
- http://www.securityfocus.com/bid/104463 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-7164 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1591023 Issue Tracking
- https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7164
- https://security.gentoo.org/glsa/202003-48 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-7164
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/104463 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2018-7164 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1591023 | Issue Tracking | |
| https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ | x_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-7164 | ||
| https://security.gentoo.org/glsa/202003-48 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-7164 |
Change history (0)
No recorded changes yet.