Advisory

DEBIAN-CVE-2018-12115

Also known as: CVE-2018-12115

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2018-08-21 12:29 UTC
Modified
2026-10-15 21:47 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 10.15.0~dfsg-6 (ecosystem)

Fixed versions

10.15.0~dfsg-6

Fix

  • Fixed version 10.15.0~dfsg-6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 10.15.0~dfsg-6 (ecosystem)

Fixed versions

10.15.0~dfsg-6

Fix

  • Fixed version 10.15.0~dfsg-6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 10.15.0~dfsg-6 (ecosystem)

Fixed versions

10.15.0~dfsg-6

Fix

  • Fixed version 10.15.0~dfsg-6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences