CVE-2021-23356
JSON

5.6medium

Arbitrary Command Injection

Severity
5.6medium CVSS:3.1 by snyk
Exploit likelihood
1.15% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-qc65-cgvr-93p6

Description

This affects all versions of package kill-process-by-name. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization in the index.js file.

Affected

Product or packageVersionsReported by
kill-process-by-namebefore unspecifiedCVE List
kill-process-by-name (npm)up to 1.0.5GitHub Advisory Database
kill-process-by-name_project kill-process-by-nameNot 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
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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 kill-process-by-name. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization in the index.js file.

NVD (es)

Esto afecta a todas las versiones del paquete kill-process-by-name. Si se otorga una entrada del usuario (controlada por el atacante), es posible que un atacante ejecute comandos arbitrarios. Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada en el archivo index.js

References

Sources

SourceRecordLicence
CVE ListCVE-2021-23356 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-qc65-cgvr-93p6 changed 2023-11-08CC-BY-4.0
NVDCVE-2021-23356 changed 2026-06-17Public domain