GHSA-c6h2-mpc6-232h: Dns sync Command Injection Vulnerability

MODERATE
Published
Advisory Summary

GHSA-c6h2-mpc6-232h is a MODERATE command injection vulnerability (General Security Weakness) affecting Dns sync libraries in the npm ecosystem. The issue involves command injection in dns-sync. Remediation is available by upgrading affected packages to version 0.1.3.

GHSA-c6h2-mpc6-232h at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-c6h2-mpc6-232h
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Dns sync
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-c6h2-mpc6-232h

To remediate this vulnerability, upgrade all affected Dns sync dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

dns-sync fixed: 0.1.3
npm install dns-sync@0.1.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls dns-sync

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-c6h2-mpc6-232h, inspect your project dependencies using npm:

npm ls dns-sync

Analyze the terminal output to locate any version of Dns sync in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.3), your application is affected.

Note: The npm ls dns-sync command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Dns sync, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Withdrawn: Duplicate of GHSA-jcw8-r9xm-32c6

GHSA-c6h2-mpc6-232h Affected Dns sync Versions

1 component(s)
Fixed Versions:
0.1.3
Product / Package Ecosystem Affected Versions Fixed Version
dns-sync
npm
< 0.1.3
0.1.3

References

Frequently Asked Questions

What is GHSA-c6h2-mpc6-232h?
GHSA-c6h2-mpc6-232h is a security vulnerability in Dns sync involving Command Injection in dns-sync under General Security Weakness.
Which Dns sync versions are affected?
Affected versions include releases prior to 0.1.3 across affected packages: dns-sync.
What version fixes GHSA-c6h2-mpc6-232h?
Upgrading to 0.1.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dns-sync affected?
Yes, dns-sync is affected in releases prior to 0.1.3. Upgrade your dependency to 0.1.3 or later.
What CWE is associated with GHSA-c6h2-mpc6-232h?
GHSA-c6h2-mpc6-232h is classified under General Security Weakness.
How can I check npm dependencies for GHSA-c6h2-mpc6-232h?
Run the dependency tree command: 'npm ls dns-sync'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c6h2-mpc6-232h",
  "modified" : "2020-08-27T22:27:20Z",
  "published" : "2020-08-27T22:26:15Z",
  "withdrawn" : "2020-08-27T22:26:15Z",
  "aliases" : [ ],
  "summary" : "Command Injection in dns-sync",
  "details" : "Withdrawn: Duplicate of GHSA-jcw8-r9xm-32c6",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "dns-sync"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/skoranga/node-dns-sync/commit/d9abaae384b198db1095735ad9c1c73d7b890a0d"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/153"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/523"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-05-29T19:16:35Z",
    "nvd_published_at" : null
  }
}