CVE-2018-12115

Modified
Published: 21 Aug 2018, 13:00
Last modified:16 Sept 2024, 16:48

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.0 (nvd)
EPSS Score
0.8% LOW
1% probability -0.45%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

21 Aug 2018, 13:00
Published
Vulnerability first disclosed
16 Sept 2024, 16:48
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.0HIGHScore: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:N/I:N/A:P

EPSS Trends

Current EPSS score: 0.80% Percentile: 74%

Techniques & Countermeasures

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • nodejsnode.js

    < 6.14.4 | ≥ 8.0.0, < 8.11.4 | ≥ 10.0.0, < 10.9.0

  • redhatopenshift_container_platform

    3.11

  • the node.js projectnode.js

    All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0

References (8)