CVE-2018-3772

CRITICAL

whereis < 0.4.1 - OS Command Injection via Unsanitized Input Concatenation

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/319476

Scores

CVSS v3 9.8
EPSS 0.0276
EPSS Percentile 84.4%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-20 CWE-77
Status published
Products (2)
npm/whereis 0 - 0.4.1npm
whereis_project/whereis < 0.4.1
Published Jul 30, 2018
Tracked Since Feb 18, 2026