Advisory

GHSA-mm4f-47ch-f7hx

Also known as: CVE-2021-23363, SNYK-JS-KILLBYPORT-1078531

Summary

Arbitrary code execution in kill-by-port

Details

This affects the package kill-by-port before 0.0.2. 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_process exec function without input sanitization.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-13 15:32 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

kill-by-port

npm · All systems

Affected

  • introduced 0, fixed 0.0.2 (semver)

Fixed versions

0.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences