GitHub Advisoryadvisory · npm
GHSA-fc42-h7q4-qp8h Command Injection in killport
HIGH
Official page ↗
- Aliases
- CVE-2021-23360
- Ecosystem
- npm
- Packages
- killport
- 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-77
- Reviewed
- 2021-03-22
Affected packages
• npm killport: < 1.0.2 → fixed in 1.0.2
Description
This affects the package killport before 1.0.2. 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-23360 This affects the package killport before 1.0.2. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness