5.6medium
Arbitrary Command Injection
- Severity
- 5.6medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.16% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-xfxf-qw26-hr33
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
| Product or package | Versions | Reported by |
|---|---|---|
| roar-pidusage | before unspecified | CVE List |
| roar-pidusage (npm) | up to 1.1.7 | GitHub Advisory Database |
| roar-pidusage_project roar-pidusage | Not specified | NVD |
All scores
| snyk | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
| GitHub | 5.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Esto afecta a todas las versiones del paquete roar-pidusage. Si es proporcionada una entrada de usuario controlada por un atacante para la función stat de este paquete en determinados sistemas operativos, es posible para un atacante ejecutar comandos arbitrarios. Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada
References
| https://snyk.io/vuln/SNYK-JS-ROARPIDUSAGE-1078528 | exploit, third-party-advisory, web | |
| https://github.com/Svjard/pidusage/blob/772cd2bd675ff7b1244b6fe3d7541692b1b9e42c/lib/stats.js%23L103 | broken-link, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23380 | advisory | |
| https://github.com/Svjard/pidusage | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23380 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xfxf-qw26-hr33 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-23380 changed 2026-06-17 | Public domain |