National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-3772 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 9.8 CRITICAL
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://hackerone.com/reports/319476 Exploit Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation NIST  
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') HackerOne  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:whereis_project:whereis:*:*:*:*:*:node.js:*:*
     Show Matching CPE(s)
Up to (excluding)
0.4.1


Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-3772
NVD Published Date:
07/30/2018
NVD Last Modified:
10/09/2019