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.
Remediation
References
https://hackerone.com/reports/319476
Related Vulnerabilities
CVE-2022-45385 Vulnerability in maven package org.jenkins-ci.plugins:dockerhub-notification
CVE-2021-40690 Vulnerability in maven package org.apache.santuario:xmlsec
CVE-2021-39157 Vulnerability in npm package detect-character-encoding
CVE-2022-21802 Vulnerability in npm package grapesjs
CVE-2020-11002 Vulnerability in maven package io.dropwizard:dropwizard-validation