CVE-2017-15897

nodejs: Unitialized buffer due to incorrect encoding

Published Dec 11, 2017 CVSS 3.1 · 3.1 Low EPSS 2.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-7316 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
nodejs
Published
Updated
Sep 17, 2024, 3:42 AM
Reserved
Oct 25, 2017, 12:00 AM
Status
Modified
Published
Dec 11, 2017, 9:29 PM
Modified
Jun 17, 2026, 1:08 AM
Severity
Low
Public date
Dec 7, 2017, 12:00 AM