Memory corruption in NodeJS Node.js
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 4 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NodeJS | Node.js | 6.x+; 8.x+; 9.x+; 10.x+ | — | No fix listed | CNA |
- Node.js VendorNodeJS Affected 6.x+; 8.x+; 9.x+; 10.x+ Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2018:2949 Released 2018-10-18 · Red Hat rating Importantrh-nodejs8-nodejs security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs8-nodejs-8.11.4-1.el7, rh-nodejs8-nodejs-devel-8.11.4-1.el7, rh-nodejs8-nodejs-docs-8.11.4-1.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-nodejs8-nodejs-8.11.4-1.el7, rh-nodejs8-nodejs-devel-8.11.4-1.el7, rh-nodejs8-nodejs-docs-8.11.4-1.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-nodejs8-nodejs-8.11.4-1.el7, rh-nodejs8-nodejs-devel-8.11.4-1.el7, rh-nodejs8-nodejs-docs-8.11.4-1.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs8-nodejs-8.11.4-1.el7, rh-nodejs8-nodejs-devel-8.11.4-1.el7, rh-nodejs8-nodejs-docs-8.11.4-1.el7 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Mobile Application Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Enterprise 3 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:2949 |
Not affected: 14 products
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Application Runtimes
- Red Hat OpenShift Container Platform 3.10
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 3.2
- Red Hat OpenShift Container Platform 3.3
- Red Hat OpenShift Container Platform 3.4
- Red Hat OpenShift Container Platform 3.5
- Red Hat OpenShift Container Platform 3.6
- Red Hat OpenShift Container Platform 3.7
- Red Hat OpenShift Container Platform 3.9
- Red Hat OpenShift Enterprise 3.0
- Red Hat OpenShift Enterprise 3.1
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2018-7167
- 2026-10-03 Alias added: GHSA-jr5v-587f-389p
- 2026-10-08 CISA SSVC decision points changed
References
More NodeJS Node.js vulnerabilities
- TI-2026-79288 Out-of-bounds write in Google Brotli decoder KEVCVSS 4.0CRITICAL 9.2
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2016-01993 The DES and Triple DES ciphers, as used in the TLS, SSH, and IPSec protocols and other… CVSS 3.1HIGH 7.5
- TI-2024-03325 Command injection vulnerability in programing languages on Microsoft Windows operating system. CVSS 3.1CRITICAL 9.8
- TI-2022-03472 X.509 Email Address Variable Length Buffer Overflow CVSS 3.1HIGH 7.5
- TI-2022-03315 X.509 Email Address 4-byte Buffer Overflow CVSS 3.1HIGH 7.5
Sources
- CVE-2018-7167 · CVE Program
- CVE-2018-7167 · NVD
- FIRST EPSS
- GHSA-jr5v-587f-389p · GitHub Advisory Database · CC BY 4.0
- CVE-2018-7167 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences