GitHub Advisory Database
GHSA-xfxf-qw26-hr33
Arbitrary command execution in roar-pidusage
Details
This affects all current versions of package roar-pidusage. If attacker-controlled user input is given to the stat function of this package on certain operating systems, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | roar-pidusage | All versions up to and including 1.1.7 |