{"id":"GHSA-533p-g2hq-qr26","aliases":[],"status":"published","title":"Command Injection in treekill","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77"],"published":"2020-09-04T17:16:35Z","modified":"2023-01-09T05:04:04Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"treekill","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"treekill","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://hackerone.com/reports/703415","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1433","tags":["web"]},{"url":"https://github.com/advisories/GHSA-533p-g2hq-qr26"}],"sources":{"ghsa":[{"id":"GHSA-533p-g2hq-qr26","title":"Command Injection in treekill","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-04T17:16:35Z","modified":"2023-01-09T05:04:04Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:08.267721Z"}],"osv":[{"id":"GHSA-533p-g2hq-qr26","title":"Command Injection in treekill","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-04T17:16:35Z","modified":"2020-08-31T18:59:07Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:37.864461Z"}]}}
