CVE-2021-23380
HIGH 7.3CVSS 3.1Arbitrary command execution in roar-pidusage
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.
- Published
- 18 Apr 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-xfxf-qw26-hr33
- Sources
- NVDJSONOSV GHSA-xfxf-qw26-hr33JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | roar-pidusage_project | roar-pidusagecpe:2.3:a:roar-pidusage_project:roar-pidusage:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | roar-pidusage | <= 1.1.7 |
References
- https://github.com/Svjard/pidusage/blob/772cd2bd675ff7b1244b6fe3d7541692b1b9e42c/lib/stats.js%23L103 · Broken Link, WEB
- https://snyk.io/vuln/SNYK-JS-ROARPIDUSAGE-1078528 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23380 · ADVISORY
- https://github.com/Svjard/pidusage · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 18 Apr 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 May 2021)