Back

LOW

nodejs: Unitialized buffer due to incorrect encoding

Published Dec 11, 2017

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 products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (5)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner nodejs
Published Dec 11, 2017
Updated Sep 17, 2024
Reserved Oct 25, 2017
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Dec 7, 2017