GitHub Advisoryadvisory · npm

GHSA-533p-g2hq-qr26 Command Injection in treekill

HIGH Published 2020-09-04 Modified 2020-08-31 Official page ↗
Ecosystem
npm
Packages
treekill
Severity
High
Weaknesses
CWE-77
Reviewed
2020-08-31

Affected packages

• npm treekill: >= 0.0.0 (no fix yet)

Description

All versions of `treekill` are vulnerable to Command Injection. The package fails to sanitize values passed to the `kill` function. If this value is user-controlled it may allow attackers to run arbitrary commands in the server. The issue only affects Windows systems. Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.

Related

Weakness · CWE (1)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References