
Cloud Vulnerability DB
A community-led vulnerabilities database
The node-dns-sync library contained a command injection vulnerability (CVE-2020-11079) in its resolve method that was discovered in May 2020. The vulnerability affected versions prior to 0.2.1 of the library, where the resolve method failed to properly sanitize user-supplied input, potentially allowing arbitrary shell command execution (GitHub Security Lab, GitHub Advisory).
The vulnerability existed in the resolve method of node-dns-sync where user input was not properly sanitized before being passed to shell commands. For example, calling the resolve method with malicious input like 'www.paypal.com" && touch exploit"' would result in unauthorized shell command execution on the system (GitHub Security Lab).
If exploited, this vulnerability could lead to remote code execution when the library's vulnerable method is called with untrusted input, potentially allowing attackers to execute arbitrary commands on the affected system (GitHub Security Lab).
The vulnerability was demonstrated to be exploitable through the resolve method by passing malicious input that could trigger arbitrary command execution. The issue was similar to command injection vulnerabilities found in other JavaScript libraries, as evidenced by related CVEs including CVE-2020-7646, CVE-2020-7614, and others (GitHub Security Lab).
The vulnerability was patched in version 0.2.1 of node-dns-sync. The fix involved implementing proper validation of record types (rrtypes) according to Node.js DNS documentation, restricting input to only valid DNS record types (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."