adriano-di-giovanni/node-df · Security
Command Injection in node-df
- GHSA ID
- GHSA-wp7m-mrvf-599c
- CVE ID
- CVE-2019-15597
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
All versions of node-df are vulnerable to Command Injection. The package fails to sanitize filenames passed to the file 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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')