CVE-2018-7166
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.
Published:Aug 11, 2018
Last Modified:Nov 21, 2024
EPS:Aug 21, 2018
EPSS Score:0.00598
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Nodejs
Product
Node.js
Nodejs
Node.js
Vendor
Redhat
Product
Openshift Application Runtimes
Redhat
Openshift Application Runtimes
Vendor
Redhat
Product
Rhel Software Collections
Redhat
Rhel Software Collections
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
