CVE-2021-23363
JSON

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 packageVersionsReported by
kill-by-portfrom unspecified before 0.0.2CVE List
kill-by-port (npm)before 0.0.2GitHub Advisory Database
kill-by-port_project kill-by-portbefore 0.0.2NVD

All scores

snyk6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2021-23363 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-mm4f-47ch-f7hx changed 2026-09-10CC-BY-4.0
NVDCVE-2021-23363 changed 2026-06-17Public domain