QID 980684
QID 980684: Nodejs (npm) Security Update for pidusage (GHSA-hfq9-rfpv-j8r8)
Affected versions of `pidusage` pass unsanitized input to `child_process.exec()`, resulting in arbitrary code execution in the `ps` method.
This package is vulnerable to this PoC on Darwin, SunOS, FreeBSD, and AIX.
Windows and Linux are not vulnerable.
## Proof of Concept
```
var pid = require('pidusage');
pid.stat('1 && /usr/local/bin/python');
```
## Recommendation
Update to version 1.1.5 or later.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-hfq9-rfpv-j8r8 for updates pertaining to this vulnerability.
Vendor References
- GHSA-hfq9-rfpv-j8r8 -
github.com/advisories/GHSA-hfq9-rfpv-j8r8
CVEs related to QID 980684
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-hfq9-rfpv-j8r8 | pidusage |
|