whereis@0.2.1 vulnerabilities

Which/Whereis easy helper, find if a program exists

Direct Vulnerabilities

Known vulnerabilities in the whereis package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Arbitrary Command Injection

whereis is a tool to get the first path to a bin on any system.

Affected versions of this package are vulnerable to Arbitrary Command Injection. It concatenates unsanitized user input into exec() command

How to fix Arbitrary Command Injection?

Upgrade whereis to version 0.4.1 or higher.

<0.4.1