Out-of-bounds write 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: 11 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
In all versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 when used with UCS-2 encoding (recognized by Node.js under the names `'ucs2'`, `'ucs-2'`, `'utf16le'` and `'utf-16le'`), `Buffer#write()` can be abused to write outside of the bounds of a single `Buffer`. Writes that start from the second-to-last position of a buffer cause a miscalculation of the maximum length of the input bytes to be written.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- 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 | All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 | — | No fix listed | CNA |
- Node.js VendorNodeJS Affected All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 Fixed in — No fix listed CNA
Remediation
Red Hat 5 advisories
- RHSA-2018:3537 Released 2018-11-20 · Red Hat rating CriticalOpenShift Container Platform 3.11 security update
- Red Hat OpenShift Container Platform 3.11 atomic-openshift-3.11.43-1.git.0.647ac05.el7, atomic-openshift-clients-redistributable-3.11.43-1.git.0.647ac05.el7, atomic-openshift-docker-excluder-3.11.43-1.git.0.647ac05.el7 +11
- 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
- RHSA-2018:2944 Released 2018-10-18 · Red Hat rating Importantrh-nodejs6-nodejs security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-nodejs6-nodejs-6.11.3-6.el6, rh-nodejs6-nodejs-devel-6.11.3-6.el6, rh-nodejs6-nodejs-docs-6.11.3-6.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs6-nodejs-6.11.3-7.el7, rh-nodejs6-nodejs-devel-6.11.3-7.el7, rh-nodejs6-nodejs-docs-6.11.3-7.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-nodejs6-nodejs-6.11.3-6.el6, rh-nodejs6-nodejs-devel-6.11.3-6.el6, rh-nodejs6-nodejs-docs-6.11.3-6.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-nodejs6-nodejs-6.11.3-7.el7, rh-nodejs6-nodejs-devel-6.11.3-7.el7, rh-nodejs6-nodejs-docs-6.11.3-7.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-nodejs6-nodejs-6.11.3-7.el7, rh-nodejs6-nodejs-devel-6.11.3-7.el7, rh-nodejs6-nodejs-docs-6.11.3-7.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-nodejs6-nodejs-6.11.3-7.el7, rh-nodejs6-nodejs-devel-6.11.3-7.el7, rh-nodejs6-nodejs-docs-6.11.3-7.el7
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-nodejs6-nodejs-6.11.3-6.el6, rh-nodejs6-nodejs-devel-6.11.3-6.el6, rh-nodejs6-nodejs-docs-6.11.3-6.el6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs6-nodejs-6.11.3-7.el7, rh-nodejs6-nodejs-devel-6.11.3-7.el7, rh-nodejs6-nodejs-docs-6.11.3-7.el7
Show 2 more Red Hat advisories
- RHSA-2018:2553 Released 2018-08-22 · Red Hat rating ModerateRed Hat OpenShift Application Runtimes Node.js 10.9.0 security update
- Red Hat OpenShift Application Runtimes Node.js 10 npm-1:6.2.0-1.10.9.0.1.el7, rhoar-nodejs-1:10.9.0-1.el7, rhoar-nodejs-docs-1:10.9.0-1.el7
- RHSA-2018:2552 Released 2018-08-22 · Red Hat rating ModerateRed Hat OpenShift Application Runtimes Node.js 8.11.4 security update
- Red Hat OpenShift Application Runtimes Node.js 8 npm-1:5.6.0-1.8.11.4.2.el7, rhoar-nodejs-1:8.11.4-2.el7, rhoar-nodejs-docs-1:8.11.4-2.el7
Vendor assessments
Red Hat
Red Hat rating: Important. 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 Software Collections | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Application Runtimes Node.js 10 | Fixed | RHSA-2018:2553 |
| Red Hat OpenShift Application Runtimes Node.js 8 | Fixed | RHSA-2018:2552 |
| Red Hat OpenShift Container Platform 3.11 | Fixed | RHSA-2018:3537 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:2944 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:2944, RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2018:2944 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Fixed | RHSA-2018:2944 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:2944, RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:2944, RHSA-2018:2949 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:2944 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:2944, RHSA-2018:2949 |
Not affected: 13 products
- Red Hat Enterprise Linux 8
- 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-12115
- 2026-10-03 Alias added: GHSA-q85m-543x-pwpc
- 2026-10-16 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-12115 · CVE Program
- CVE-2018-12115 · NVD
- FIRST EPSS
- GHSA-q85m-543x-pwpc · GitHub Advisory Database · CC BY 4.0
- CVE-2018-12115 · 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