CVE-2017-16100 Command Injection in dns-sync

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via untrusted input in the dns-sync library's resolve method, requiring immediate library upgrades.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-16100?

CVE-2017-16100 is a critical command injection vulnerability in HackerOne dns-sync node module, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

dns-sync is a sync/blocking dns resolver. If untrusted user input is allowed into the resolve() method then command injection is possible.

Weakness: CWE-77, CWE-94

Which versions are affected by CVE-2017-16100?

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

PackageAffectedFixed in
dns-sync npmAll versions0.1.1
dns-sync npmAll versions0.1.1

Products include Dns-Sync Project Dns-Sync.

How do I fix CVE-2017-16100?

Upgrade dns-sync to 0.1.1 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-16100 being exploited?

There is no known exploitation of CVE-2017-16100 in the wild and no public exploit code.

Sources

Also known as GHSA-jcw8-r9xm-32c6.

Is CVE-2017-16100 in your software?

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

Check your SBOMs for free