CVE-2017-16100 Command Injection in dns-sync
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.
Which versions are affected by CVE-2017-16100?
2 open source packages ship an affected version, including dns-sync. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dns-sync npm | All versions | 0.1.1 |
dns-sync npm | All versions | 0.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.
Other vulnerabilities in HackerOne dns-sync node module
Sources
Also known as GHSA-jcw8-r9xm-32c6.