Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tree-kill
  4. ›
  5. CVE-2019-15598

CVE-2019-15598: Treekill Enables OS Command Injection

May 24, 2022 (updated April 22, 2024)

A Code Injection exists in treekill and tree-kill on Windows which allows a remote code execution when an attacker is able to control the input into the command.

References

  • github.com/advisories/GHSA-j7fq-p9q7-5wfv
  • github.com/node-modules/treekill/blob/master/index.js
  • github.com/pkrumins/node-tree-kill
  • github.com/pkrumins/node-tree-kill/commit/ff73dbf144c4c2daa67799a50dfff59cd455c63c
  • github.com/pkrumins/node-tree-kill/issues/30
  • github.com/pkrumins/node-tree-kill/pull/31
  • hackerone.com/reports/701183
  • hackerone.com/reports/703415
  • nvd.nist.gov/vuln/detail/CVE-2019-15598
  • security.snyk.io/vuln/SNYK-JS-TREEKILL-536781

Code Behaviors & Features

Detect and mitigate CVE-2019-15598 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.2

Fixed versions

  • 1.2.2

Solution

Upgrade to version 1.2.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/tree-kill/CVE-2019-15598.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.