Advisory

GHSA-fc42-h7q4-qp8h

Also known as: CVE-2021-23360, SNYK-JS-KILLPORT-1078535

Summary

Command Injection in killport

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-13 15:16 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

killport

npm · All systems

Affected

  • introduced 0, fixed 1.0.2 (semver)

Fixed versions

1.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