CVE-2017-16100: Command Injection in dns-sync

dns-sync Updated 02 Oct 2025

Summary

18/07/2018
Yes i
Critical
Not published

CVE-2017-16100: Command Injection in dns-sync. Affects dns-sync versions < 0.1.1. Fixed in 0.1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The dns-sync package is an npm package used for DNS resolution in Node.js applications. It provides a resolve() method for resolving domain names to IP addresses synchronously. This package is vulnerable to an arbitrary command execution vulnerability in the resolve() method.

Vulnerability Detail

The vulnerability in dns-sync allows an attacker to execute arbitrary commands by injecting malicious input into the resolve() method. This can lead to remote code execution and potential compromise of the affected system. The vulnerability was identified in versions 0.0.1 to 0.1.0 of the package.

How To Fix

Latest published version: 0.2.1 as of 23 Oct 2026

npm install dns-sync@0.2.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.1.1

This is the first release that contains the fix.

npm install dns-sync@0.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The dns-sync package has a critical command injection vulnerability in the resolve() method, allowing for arbitrary command execution. It is recommended to use an alternative DNS resolver and ensure that untrusted input is not allowed into the affected method. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for dns-sync →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary commands on the affected system, potentially leading to remote code execution and compromise of the system.

Versions 0.0.1 to 0.1.0 of dns-sync are affected by this vulnerability.

There are no known exploits for this vulnerability at the moment.

Yes, the vulnerability can be fixed by using an alternative DNS resolver and ensuring that untrusted input is not allowed into the dns-sync.resolve() method.

Related vulnerabilities

Recent vulnerabilities recorded for dns-sync.

How To Fix

Latest published version: 0.2.1 as of 23 Oct 2026

npm install dns-sync@0.2.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.1.1

This is the first release that contains the fix.

npm install dns-sync@0.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback