{
  "schema_version": "1.4.0",
  "id": "GHSA-jcw8-r9xm-32c6",
  "modified": "2020-08-31T18:26:20Z",
  "published": "2018-07-18T18:28:02Z",
  "aliases": [
    "CVE-2017-16100"
  ],
  "summary": "Command Injection in dns-sync",
  "details": "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()`",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "dns-sync"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.1.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16100"
    },
    {
      "type": "WEB",
      "url": "https://github.com/skoranga/node-dns-sync/issues/1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/skoranga/node-dns-sync/issues/1)"
    },
    {
      "type": "WEB",
      "url": "https://github.com/skoranga/node-dns-sync/issues/5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/skoranga/node-dns-sync/commit/d9abaae384b198db1095735ad9c1c73d7b890a0d"
    },
    {
      "type": "WEB",
      "url": "https://github.com/skoranga/node-dns-sync/commit/d9abaae384b198db1095735ad9c1c73d7b890a0d)))"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-jcw8-r9xm-32c6"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/153"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/523"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:43:08Z",
    "nvd_published_at": null
  }
}