Name of the Vulnerable Software and Affected Versions:
fs-path node module versions prior to 0.0.25
Description:
The issue concerns command injection via user-supplied inputs through specific methods. The `copy`, `copySync`, `remove`, and `removeSync` methods are vulnerable to this type of attack.
Recommendations:
For versions prior to 0.0.25, update to version 0.0.25 or later to resolve the issue. As a temporary workaround, consider restricting the use of the `copy`, `copySync`, `remove`, and `removeSync` methods until a patch is applied. Avoid using user-supplied inputs in these methods to minimize the risk of exploitation.