The Node.js Project Node.js
At a glance
- Source
- NVD
- EPSS
- EPSS 3.29 % · percentile 88 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- nodejs
- NVD status
- Modified
Description
In all versions of Node.js 10 prior to 10.9.0, an argument processing flaw can cause `Buffer.alloc()` to return uninitialized memory. This method is intended to be safe and only return initialized, or cleared, memory. The third argument specifying `encoding` can be passed as a number, this is misinterpreted by `Buffer's` internal "fill" method as the `start` to a fill operation. This flaw may be abused where `Buffer.alloc()` arguments are derived from user input to return uncleared memory blocks that may contain sensitive information.
Weaknesses (CWE)
- CWE-226 — Sensitive Information in Resource Not Removed Before Reuse
- CWE-908 — Use of Uninitialized Resource
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2018-18908
- GCVE · GCVE-0-2018-7166
Affected configurations (NVD CPE)
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*≥ 10.0.0 < 10.9.0
Affected products
| Product | Versions |
|---|---|
| The Node.js Project · Node.js | affected All versions of Node.js 10 prior to 10.9.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |