CVE-2020-28437 Command Injection
Attackers can execute arbitrary commands via the heroku-env npm package, 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-28437?
CVE-2020-28437 is a critical command injection vulnerability in heroku-env, published on 2 Aug 2022. 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 heroku-env. The injection point is located in lib/get.js which is required by index.js.
Weakness: CWE-77
Which versions are affected by CVE-2020-28437?
2 open source packages ship an affected version, including heroku-env. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
heroku-env npm | All versions to 0.2.0 | None |
heroku-env npm | All versions to 0.2.0 | None |
Products include Heroku-Env Project Heroku-Env.
How do I fix CVE-2020-28437?
No fix has been published for CVE-2020-28437 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-28437 being exploited?
There is no known exploitation of CVE-2020-28437 in the wild and no public exploit code.
Sources
Also known as GHSA-jp45-65jw-94mj.