What’s Vulnerable › Vulnerabilities

CVE-2017-15897

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

How to fix

Upgrade to a fixed version: Node.js 8.9.3, 9.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2017-15897 or the next vulnerability affects your stack