What’s Vulnerable › Vulnerabilities
CVE-2021-23380: Arbitrary Command Injection
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-04-18 · updated 2026-06-17
- Weakness: CWE-78
Description
This affects all 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 products
- roar-pidusage: all versions
References
- https://github.com/Svjard/pidusage/blob/772cd2bd675ff7b1244b6fe3d7541692b1b9e42c/lib/stats.js%23L103
- https://snyk.io/vuln/SNYK-JS-ROARPIDUSAGE-1078528
- https://github.com/Svjard/pidusage/blob/772cd2bd675ff7b1244b6fe3d7541692b1b9e42c/lib/stats.js%23L103
- https://snyk.io/vuln/SNYK-JS-ROARPIDUSAGE-1078528
Get alerted when CVE-2021-23380 or the next vulnerability affects your stack