CVE-2018-7166
August 21, 2018
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.
Related ResourcesĀ (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
CVSS v2
Base Score:
5
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.34