Advisory

GHSA-qc65-cgvr-93p6

Also known as: CVE-2021-23356

Summary

Code injection in kill-process-by-name

Details

This affects all versions of package kill-process-by-name. 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 in the index.js file.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-03-19 21:19 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

kill-process-by-name

npm · All systems

Affected

  • introduced 0, last affected 1.0.5 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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