CVEvulnerability

CVE-2017-15897

3.1 LOW Published 2017-12-11 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-12-11
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
3.1 LOW — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
Weaknesses
CWE-665

Description

Node.js had a bug in versions 8.X and 9.X which caused buffers to not be initialized when the encoding for the fill value did not match the encoding specified. For example, 'Buffer.alloc(0x100, "This is not correctly encoded", "hex");' The buffer implementation was updated such that the buffer will be initialized to all zeros in these cases.

Affected configurations

• nodejs node.js (>= 8.0.0 <= 8.8.1) • nodejs node.js (>= 8.9.0 < 8.9.3) • nodejs node.js (>= 9.0.0 < 9.2.1)

Related

Weakness · CWE (1)

  • CWE-665 Improper Initialization weakness

References