Skip to main content
← All vulnerabilities
CVE-2021-23359GHSA-2548-Q746-X5X6

Arbitrary Command Injection

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a port-killer

    All versions

  • port-killernpm

    through 1.0.1

References 2

snyk.io

GitHub · tylerjpeterson/port-killer