nodejs: Denial of Service by calling Buffer.fill() or Buffer.alloc() with specially crafted parameters
Published Jun 13, 2018
7.5
HIGHCVSS 3.1
EPSS 7.12%
Description
Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial of Service. In order to address this vulnerability, the implementations of Buffer.alloc() and Buffer.fill() were updated so that they zero fill instead of hanging in these cases. All versions of Node.js 6.x (LTS "Boron"), 8.x (LTS "Carbon"), and 9.x are vulnerable. All versions of Node.js 10.x (Current) are NOT vulnerable.
Affected products
-
- Version 10.x+StatusaffectedConstraints-
- Version 6.x+StatusaffectedConstraints-
- Version 8.x+StatusaffectedConstraints-
- Version 9.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 Software Collections for Red Hat Enterprise Linux 7
rh-nodejs8-nodejs-0:8.11.4-1.el7
Fixed · RHSA-2018:2949
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-nodejs8-nodejs-0:8.11.4-1.el7
Fixed · RHSA-2018:2949
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-nodejs8-nodejs-0:8.11.4-1.el7
Fixed · RHSA-2018:2949
Red Hat Enterprise Linux 8
nodejs
Not affected
Red Hat Mobile Application Platform 4
nodejs
Will not fix
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 OpenShift Container Platform 3.11
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.11
logging-kibana
Not affected
Red Hat OpenShift Container Platform 3.2
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.2
logging-kibana
Not affected
Red Hat OpenShift Container Platform 3.3
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.3
logging-kibana
Not affected
Red Hat OpenShift Container Platform 3.4
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.4
logging-kibana
Not affected
Red Hat OpenShift Container Platform 3.5
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.5
logging-kibana
Not affected
Red Hat OpenShift Container Platform 3.6
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.6
logging-kibana
Not affected
Red Hat OpenShift Container Platform 3.7
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.7
logging-kibana
Not affected
Red Hat OpenShift Container Platform 3.9
logging-auth-proxy
Not affected
Red Hat OpenShift Container Platform 3.9
logging-kibana
Not affected
Red Hat OpenShift Enterprise 3
jenkins-slave-nodejs
Will not fix
Red Hat OpenShift Enterprise 3.0
logging-auth-proxy
Not affected
Red Hat OpenShift Enterprise 3.0
logging-kibana
Not affected
Red Hat OpenShift Enterprise 3.1
logging-auth-proxy
Not affected
Red Hat OpenShift Enterprise 3.1
logging-kibana
Not affected
Red Hat Software Collections
rh-nodejs4-nodejs
Not affected
Red Hat Software Collections
rh-nodejs6-nodejs
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-nodejs8-nodejs-0:8.11.4-1.el7 | Fixed | RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-nodejs8-nodejs-0:8.11.4-1.el7 | Fixed | RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-nodejs8-nodejs-0:8.11.4-1.el7 | Fixed | RHSA-2018:2949 |
| Red Hat Enterprise Linux 8 | nodejs | Not affected | n/a |
| Red Hat Mobile Application Platform 4 | nodejs | Will not fix | 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 OpenShift Container Platform 3.11 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.11 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.2 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.2 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.3 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.3 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.4 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.4 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.5 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.5 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.6 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.6 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.7 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.7 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.9 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.9 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | jenkins-slave-nodejs | Will not fix | n/a |
| Red Hat OpenShift Enterprise 3.0 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Enterprise 3.0 | logging-kibana | Not affected | n/a |
| Red Hat OpenShift Enterprise 3.1 | logging-auth-proxy | Not affected | n/a |
| Red Hat OpenShift Enterprise 3.1 | logging-kibana | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs4-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs | Will not fix | 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 v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.12% (0.07123) | 94.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.21% (0.07214) | 93.49th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.25% (0.00247) | 65.11th | v3 (v2023.03.01) |
| Jun 12, 2024 | 0.25% (0.00247) | 64.78th | v3 (v2023.03.01) |
| Jan 31, 2024 | 0.25% (0.00247) | 62.76th | v3 (v2023.03.01) |
| Dec 14, 2023 | 0.26% (0.00264) | 63.83th | v3 (v2023.03.01) |
| Nov 4, 2023 | 0.25% (0.00250) | 62.73th | v3 (v2023.03.01) |
| Jul 12, 2023 | 0.36% (0.00357) | 68.31th | v3 (v2023.03.01) |
| Jun 7, 2023 | 0.36% (0.00363) | 68.32th | v3 (v2023.03.01) |
| Apr 19, 2023 | 0.32% (0.00316) | 65.88th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.34% (0.00337) | 66.70th | 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/106363 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-7167 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1591006 Issue Tracking
- https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7167
- https://security.gentoo.org/glsa/202003-48 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-7167
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/106363 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2018-7167 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1591006 | Issue Tracking | |
| https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ | x_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-7167 | ||
| https://security.gentoo.org/glsa/202003-48 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-7167 |
Change history (0)
No recorded changes yet.