CVE-2021-23359

Arbitrary Command Injection

Published Mar 18, 2021 CVSS 3.1 · 7.5 High EPSS 1.7% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0733 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.
Github GHSA Github GHSA GHSA-2548-q746-x5x6 Code injection in port-killer
History

No history.

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 3:18 AM
Reserved
Jan 8, 2021, 12:00 AM
Status
Modified
Published
Mar 18, 2021, 1:15 PM
Modified
Jun 17, 2026, 3:38 AM