Skip to content

Command injection in portkiller

High severity GitHub Reviewed Published May 6, 2021 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

npm portkiller (npm)

Affected versions

<= 1.0.3

Patched versions

None

Description

This affects all versions of package portkiller. 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.

References

Published by the National Vulnerability Database Apr 18, 2021
Reviewed Apr 19, 2021
Published to the GitHub Advisory Database May 6, 2021
Last updated Jan 27, 2023

Severity

High
7.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Weaknesses

CVE ID

CVE-2021-23379

GHSA ID

GHSA-r6fw-8m27-43c9
Checking history
See something to contribute? Suggest improvements for this vulnerability.