CVE-2020-11079 command injection fix in node-dns-sync
Attackers can execute arbitrary commands via untrusted input in the node-dns-sync library, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-11079?
CVE-2020-11079 is a high-severity command injection vulnerability in skoranga node-dns-sync, published on 28 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
node-dns-sync (npm module dns-sync) through 0.2.0 allows execution of arbitrary commands . This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. This has been fixed in 0.2.1.
Which versions are affected by CVE-2020-11079?
2 open source packages ship an affected version, including dns-sync. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dns-sync npm | From 0.1.3 | 0.2.1 |
dns-sync npm | From 0.1.3 | 0.2.1 |
Products include Node-Dns-Sync Project Node-Dns-Sync.
How do I fix CVE-2020-11079?
Upgrade dns-sync to 0.2.1 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-11079 being exploited?
There is no known exploitation of CVE-2020-11079 in the wild and no public exploit code.
Sources
Also known as GHSA-wh69-wc6q-7888.