CVE-2018-12115 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 abu...
HighCVSS 7.5
EPSS 7.8%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nodejs(Debian:12) | < 10.15.0~dfsg-6 | 10.15.0~dfsg-6 |
| debian/nodejs(Debian:13) | < 10.15.0~dfsg-6 | 10.15.0~dfsg-6 |
| debian/nodejs(Debian:14) | < 10.15.0~dfsg-6 | 10.15.0~dfsg-6 |
| alpine/nodejs(Alpine:v3.10) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.11) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.12) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.13) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.14) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.15) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.16) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.17) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.18) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.19) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.20) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.21) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.22) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.23) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.24) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.8) | < 8.11.4-r0 | 8.11.4-r0 |
| alpine/nodejs(Alpine:v3.9) | < 8.11.4-r0 | 8.11.4-r0 |
| The Node.js Project Node.js | = All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0 | No fix listed |
| nodejs node.js | < 6.14.4 | 6.14.4 |
| nodejs node.js | >= 8.0.0, < 8.11.4 | 8.11.4 |
| nodejs node.js | >= 10.0.0, < 10.9.0 | 10.9.0 |
| redhat openshift container platform | = 3.11 | No fix listed |
References
- Debian Security Tracker CVE-2018-12115 vendor-advisory
- security.alpinelinux.org vendor-advisory
- 105127 third-party-advisory vdb-entry
- RHSA-2018:2552 third-party-advisory vendor-advisory
- RHSA-2018:2553 third-party-advisory vendor-advisory
- RHSA-2018:2944 third-party-advisory vendor-advisory
- nodejs.org vendor-advisory
- RHSA-2018:3537 third-party-advisory vendor-advisory
- RHSA-2018:2949 third-party-advisory vendor-advisory
- GLSA-202003-48 vendor-advisory