6.3medium
Arbitrary Command Injection
- Severity
- 6.3medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.76% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-mm4f-47ch-f7hxSNYK-JS-KILLBYPORT-1078531
Description
This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, 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 |
|---|---|---|
| kill-by-port | from unspecified before 0.0.2 | CVE List |
| kill-by-port (npm) | before 0.0.2 | GitHub Advisory Database |
| kill-by-port_project kill-by-port | before 0.0.2 | NVD |
All scores
| snyk | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P |
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, 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 al paquete kill-by-port versiones anteriores a 0.0.2. Si se proporciona una entrada de usuario (controlada por el atacante) para la función killByPort, es posible que un atacante ejecute comandos arbitrarios. Esto se debe al uso de la función exec child_process sin saneamiento de entrada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23363 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mm4f-47ch-f7hx changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-23363 changed 2026-06-17 | Public domain |