You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
Current 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.
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.
NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.
Note: NVD Analysts have published a CVSS score for this CVE based on publicly available information at the time of analysis. The CNA has not provided a score within the CVE List.
NVD Analysts use publicly available information to associate vector strings and CVSS scores. We also display any CVSS information provided within the CVE List from the CNA.
Note: NVD Analysts have published a CVSS score for this CVE based on publicly available information at the time of analysis. The CNA has not provided a score within the CVE List.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
OR
*cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* versions up to (excluding) 6.14.4
*cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.11.4
*cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* versions from (including) 10.0.0 up to (excluding) 10.9.0
Added
CVSS V2
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Added
CVSS V3
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Added
CWE
CWE-787
Changed
Reference Type
http://www.securityfocus.com/bid/105127 No Types Assigned
http://www.securityfocus.com/bid/105127 Third Party Advisory, VDB Entry
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2018:2552 No Types Assigned
https://access.redhat.com/errata/RHSA-2018:2552 Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2018:2553 No Types Assigned
https://access.redhat.com/errata/RHSA-2018:2553 Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2018:2944 No Types Assigned
https://access.redhat.com/errata/RHSA-2018:2944 Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2018:2949 No Types Assigned
https://access.redhat.com/errata/RHSA-2018:2949 Third Party Advisory
Changed
Reference Type
https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/ No Types Assigned
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.
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.
Quick Info
CVE Dictionary Entry: CVE-2018-12115 NVD
Published Date: 08/21/2018 NVD
Last Modified: 03/20/2020
Source: Node.js