CVE-2020-7784 command_injection
Attackers can execute arbitrary commands via the ts-process-promises library, potentially compromising the host system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7784?
CVE-2020-7784 is a critical command injection vulnerability in ts-process-promises, published on 8 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects all versions of package ts-process-promises. The injection point is located in line 45 in main entry of package in lib/process-promises.js. The vulnerability is demonstrated with the following PoC:
Weakness: CWE-78
Which versions are affected by CVE-2020-7784?
2 open source packages ship an affected version, including ts-process-promises. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ts-process-promises npm | All versions | None |
ts-process-promises npm | All versions | None |
Products include Ts-Process-Promises Project Ts-Process-Promises.
How do I fix CVE-2020-7784?
No fix has been published for CVE-2020-7784 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-7784 being exploited?
There is no known exploitation of CVE-2020-7784 in the wild and no public exploit code.
Sources
Also known as GHSA-ww4j-c2rq-47q8.