Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. kill-by-port
  4. ›
  5. CVE-2021-23363

CVE-2021-23363: Command Injection

March 30, 2021 (updated June 28, 2022)

If (attacker-controlled) user input is given to the killByPort function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_proces exec function without input sanitization.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-23363

Code Behaviors & Features

Detect and mitigate CVE-2021-23363 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.2

Fixed versions

  • 0.0.2

Solution

Upgrade to version 0.0.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/kill-by-port/CVE-2021-23363.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:49 +0000.