CVE-2020-28443 Command Injection
Attackers can execute arbitrary commands via the sonar-wrapper npm 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-28443?
CVE-2020-28443 is a critical command injection vulnerability in sonar-wrapper, published on 25 Jul 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 sonar-wrapper. The injection point is located in lib/sonarRunner.js.
Weakness: CWE-77
Which versions are affected by CVE-2020-28443?
2 open source packages ship an affected version, including sonar-wrapper. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sonar-wrapper npm | All versions to 0.1.3 | None |
sonar-wrapper npm | All versions to 0.1.3 | None |
Products include Sonar-Wrapper Project Sonar-Wrapper.
How do I fix CVE-2020-28443?
No fix has been published for CVE-2020-28443 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-28443 being exploited?
There is no known exploitation of CVE-2020-28443 in the wild and no public exploit code.
Sources
Also known as GHSA-wr4v-3f2h-6hhh.