{"id":"CVE-2017-16100","aliases":["EUVD-2018-0287","GHSA-jcw8-r9xm-32c6"],"status":"published","title":"Command Injection in dns-sync","description":"dns-sync is a sync/blocking dns resolver. If untrusted user input is allowed into the resolve() method then command injection is possible.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.05053,"percentile":0.92353,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-94"],"published":"2018-06-07T02:00:00Z","modified":"2026-06-17T01:08:47Z","fixes":[{"ecosystem":"npm","package":"dns-sync","fixed_in":["0.1.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"dns-sync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.1"}]}]},{"source":"osv","ecosystem":"npm","package":"dns-sync","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.1"}]}]}],"products":[{"vendor":"dns-sync_project","product":"dns-sync"},{"vendor":"hackerone","product":"dns-sync node module"}],"references":[{"url":"https://github.com/skoranga/node-dns-sync/issues/5","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nodesecurity.io/advisories/523","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16100","tags":["advisory"]},{"url":"https://github.com/skoranga/node-dns-sync/issues/1","tags":["web"]},{"url":"https://github.com/skoranga/node-dns-sync/issues/1)","tags":["web"]},{"url":"https://github.com/skoranga/node-dns-sync/commit/d9abaae384b198db1095735ad9c1c73d7b890a0d","tags":["web"]},{"url":"https://github.com/skoranga/node-dns-sync/commit/d9abaae384b198db1095735ad9c1c73d7b890a0d)))","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jcw8-r9xm-32c6","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/153","tags":["web"]},{"url":"https://www.npmjs.com/advisories/523","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-16100","description":"dns-sync is a sync/blocking dns resolver. If untrusted user input is allowed into the resolve() method then command injection is possible.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T02:16:17.609Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:33:21.142987Z"}],"euvd":[{"id":"EUVD-2018-0287","description":"dns-sync is a sync/blocking dns resolver. If untrusted user input is allowed into the resolve() method then command injection is possible.","status":"published","published":"2018-06-07T02:00:00Z","modified":"2024-09-17T02:16:17Z","updated_at":"2026-11-03T00:28:41.906947Z"}],"ghsa":[{"id":"GHSA-jcw8-r9xm-32c6","title":"Command Injection in dns-sync","description":"Affected versions of `dns-sync` have an arbitrary command execution vulnerability in the `resolve()` method. \n\n\n\n## Recommendation\n\n- Use an alternative dns resolver\n- Do not allow untrusted input into `dns-sync.resolve()`","status":"published","published":"2018-07-18T18:28:02Z","modified":"2023-01-09T05:03:10Z","cwes":["CWE-94"],"updated_at":"2026-11-02T14:36:04.396827Z"}],"nvd":[{"id":"CVE-2017-16100","description":"dns-sync is a sync/blocking dns resolver. If untrusted user input is allowed into the resolve() method then command injection is possible.","status":"published","published":"2018-06-07T02:29:02.207Z","modified":"2026-06-17T01:08:47.807Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-94","CWE-77"],"updated_at":"2026-11-02T14:04:17.638656Z"}],"osv":[{"id":"GHSA-jcw8-r9xm-32c6","title":"Command Injection in dns-sync","description":"Affected versions of `dns-sync` have an arbitrary command execution vulnerability in the `resolve()` method. \n\n\n\n## Recommendation\n\n- Use an alternative dns resolver\n- Do not allow untrusted input into `dns-sync.resolve()`","status":"published","published":"2018-07-18T18:28:02Z","modified":"2023-11-08T03:59:04.853722Z","cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:50.336262Z"}]}}
