StraitOfVuln
Latest / CVE-2018-12115

CVE-2018-12115

HighCVSS 7.5 (v3.0)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

Description

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.

Details

CVE ID
CVE-2018-12115
Published / updated
21 Aug 2018, 12:29 UTC · last modified 15 Oct 2026, 18:17 UTC
Severity
HIGH
CVSS score
7.5 · v3.0 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
Affected products
Node.Js, Openshift Container Platform
Affected versions
Node.Js: < 6.14.4
Node.Js: ≥ 8.0.0, < 8.11.4
Node.Js: ≥ 10.0.0, < 10.9.0
Openshift Container Platform: 3.11
Fixed versions
node.js 6.14.4, node.js 8.11.4, node.js 10.9.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
7.78% probability of exploitation in the next 30 days · 95% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (node.js 6.14.4, node.js 8.11.4, node.js 10.9.0) per the vendor advisory.
Source (CNA)
cve-request@iojs.org