Command Injection in node-df
Critical severity
GitHub Reviewed
Published
Feb 14, 2020
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Dec 18, 2019
Reviewed
Feb 13, 2020
Published to the GitHub Advisory Database
Feb 14, 2020
Last updated
Feb 1, 2023
All versions of
node-df
are vulnerable to Command Injection. The package fails to sanitize filenames passed to thefile
option. If this value is user-controlled it may allow attackers to run arbitrary commands in the server.Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
References