CVE-2018-12115CWE-787

CVE-2018-12115

High · published August 21, 2018

CVSS v3.0
7.5
EPSS
8%
Percentile
94.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.08093 · 94.8th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2018-08-21T16:29Z
Affected products (4)
ProductVersionsFixed in
nodejs/node.js< 6.14.46.14.4
nodejs/node.js≥ 8.0.0, < 8.11.48.11.4
nodejs/node.js≥ 10.0.0, < 10.9.010.9.0
redhat/openshift_container_platformall versions—
References (16)
EPSS history
Timeline
  • 21 AUG 13:00Z
    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'`…
    cvelistv5