CVE-2017-15897Nodejs Node.js
Low 3.1
Follow: this CVE · Nodejs · Nodejs Node.js We alert you by email or Slack (account required).
- Priority
- 19
- CVSS 3.1
- 3.1
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Dec 11, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-665
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Node.js.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- nodejs.org Issue Tracking Vendor Advisory