CVE-2021-23359
HIGHport-killer - OS Command Injection via Unsanitized Input to child_process exec
Title source: llmDescription
This affects all versions of package port-killer. 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. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
References (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078533
Broken Link x_refsource_misc
https://github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b185189c10329025b/index.js%23L19
Scores
CVSS v3
7.5
EPSS
0.0165
EPSS Percentile
73.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-78
Status
published
Products (2)
npm/port-killer
0npm
port-killer_project/port-killer
Published
Mar 18, 2021
Tracked Since
Feb 18, 2026