Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Port-Killer Project | Port-Killer | All versions |
Related Weaknesses (CWE)
References
- https://github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b18518Broken Link
- https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078533ExploitThird Party Advisory
- https://github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b18518Broken Link
- https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078533ExploitThird Party Advisory
FAQ
What is CVE-2021-23359?
CVE-2021-23359 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ex...
How severe is CVE-2021-23359?
CVE-2021-23359 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23359?
Check the references section above for vendor advisories and patch information. Affected products include: Port-Killer Project Port-Killer.