CVE-2020-28439 Command Injection
Attackers can execute arbitrary commands via the corenlp-js-prefab npm package due to unsafe handling in its dependency.
- 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-28439?
CVE-2020-28439 is a critical command injection vulnerability in corenlp-js-prefab, published on 11 Dec 2020. 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 corenlp-js-prefab. The injection point is located in line 10 in 'index.js.' It depends on a vulnerable package 'corenlp-js-interface.' Vulnerability can be exploited with the following PoC:
Weakness: CWE-78
Which versions are affected by CVE-2020-28439?
2 open source packages ship an affected version, including corenlp-js-prefab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
corenlp-js-prefab npm | All versions to 1.0.1 | None |
corenlp-js-prefab npm | All versions to 1.0.1 | None |
Products include Corenlp-Js-Prefab Project Corenlp-Js-Prefab.
How do I fix CVE-2020-28439?
No fix has been published for CVE-2020-28439 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-28439 being exploited?
There is no known exploitation of CVE-2020-28439 in the wild and no public exploit code.
Sources
Also known as GHSA-h73g-8g27-xxcx.