Skip to main content
← All vulnerabilities
CVE-2021-23360GHSA-FC42-H7Q4-QP8HSNYK-JS-KILLPORT-1078535

Arbitrary Command Injection

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

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a killport

    fixed in 1.0.2

  • killportnpm

    fixed in 1.0.2

References 3

snyk.io

GitHub · ssnau/killport