Live threats

All CVEs / Ps-kill Project

CVE-2021-23355Ps-kill Project Ps-kill

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Mar 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

This affects all versions of package ps-kill. If (attacker-controlled) user input is given to the kill 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 in the index.js file. PoC (provided by reporter): var ps_kill = require('ps-kill'); ps_kill.kill('$(touch success)',function(){});

Original NVD text.

What to do

  1. Apply the vendor's security update for Ps-kill.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm ps-kill ≤ 1.0.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-7qmm-q394-fmch). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ps-kill_projectps-killall

Official sources

References

Links published by the sources. Open them with care.

  • snyk.io Exploit Third Party Advisory