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-2021-3503 Vulnerability in maven package org.wildfly:wildfly-metrics
CVE-2020-27216 Vulnerability in maven package org.eclipse.jetty:jetty-webapp
CVE-2022-38900 Vulnerability in npm package decode-uri-component
CVE-2021-33360 Vulnerability in npm package @stoqey/gnuplot
CVE-2023-39154 Vulnerability in maven package com.qualys.plugins:qualys-was