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 package | Versions | Reported by |
|---|---|---|
| kill-process-by-name | before unspecified | CVE List |
| kill-process-by-name (npm) | up to 1.0.5 | GitHub Advisory Database |
| kill-process-by-name_project kill-process-by-name | 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 | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 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 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
| https://snyk.io/vuln/SNYK-JS-KILLPROCESSBYNAME-1078534 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23356 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23356 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qc65-cgvr-93p6 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-23356 changed 2026-06-17 | Public domain |