CVE-2021-23380
JSON

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 packageVersionsReported by
roar-pidusagebefore unspecifiedCVE List
roar-pidusage (npm)up to 1.1.7GitHub Advisory Database
roar-pidusage_project roar-pidusageNot specifiedNVD

All scores

snyk5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
GitHub5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD7.5high CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-23380 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-xfxf-qw26-hr33 changed 2023-11-08CC-BY-4.0
NVDCVE-2021-23380 changed 2026-06-17Public domain