GitHub Advisoryadvisory · npm
GHSA-2548-q746-x5x6 Code injection in port-killer
HIGH
Official page ↗
- Aliases
- CVE-2021-23359
- Ecosystem
- npm
- Packages
- port-killer
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20, CWE-77
- Reviewed
- 2021-03-22
Affected packages
• npm port-killer: <= 1.0.1 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2021-23359 This affects all versions of package port-killer. vulnerability