Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-3772 EUVD-2018-0333GHSA-wjr4-2jgw-hmv8

Command Injection in whereis

Published Jul 30, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
https://github.com/vvo whereis >= 0.4.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm whereis < 0.4.1 0.4.1 GHSA-wjr4-2jgw-hmv8

References