CVE-2018-3772
Published:July 30, 2018
Updated:September 21, 2026
Concatenating unsanitized user input in the "whereis" npm module < 0.4.1 allowed an attacker to execute arbitrary commands. The "whereis" module is deprecated and it is recommended to use the "which" npm module instead.
Affected Packages
whereis (NPM):
Affected version(s) >=0.0.1 <0.4.1Fix Suggestion:
Update to version 0.4.1Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
2.53