CVE-2020-11079 command injection fix in node-dns-sync

High 8.6 Published Updated

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.

Weakness: CWE-77, CWE-94

Which versions are affected by CVE-2020-11079?

2 open source packages ship an affected version, including dns-sync. It affects 1 product.

PackageAffectedFixed in
dns-sync npmFrom 0.1.30.2.1
dns-sync npmFrom 0.1.30.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.

Is CVE-2020-11079 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free