Quick answers
- Is CVE-2019-15598 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2019-15598 being exploited in the wild.
- How severe is CVE-2019-15598?
- Low severity, with a CVSS score of 3.1, published 24 May 2022.
- Which products and versions are affected?
- tree-kill (npm) before 1.2.2.
- Is there a fix for CVE-2019-15598?
- A patch was published on 2019-12-18: Fix released in version 1.2.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2019-15598 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2019-15598?
- Check whether you run tree-kill (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
tree-kill contains an OS command injection vulnerability (CWE-78) in its process killing logic on Windows systems. The vulnerability exists because the library constructs shell commands by directly concatenating user-supplied process IDs without proper escaping or validation. An attacker who can control the input to the kill() function can inject shell metacharacters (such as & and >) to execute arbitrary commands with the privileges of the Node.js process. The attack requires no authentication and no user interaction—only the ability to pass malicious input to the vulnerable function. The vulnerability was fixed in version 1.2.2.
Affected products
- npm tree-kill before 1.2.2
Identifiers
- CVE-2019-15598
- GHSA-j7fq-p9q7-5wfv
Timeline
- 2019-12-08: disclosed
- 2022-05-24: advisory
- 2019-12-18: patched: Fix released in version 1.2.2