Vulnerability · Published Jul 25, 2022 · Assigned by snyk
CVE-2020-7678Arbitrary Code Execution
High 8.6
In plain English
A high-severity security flaw in node-import. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities).
Severity (CVSS 3.1)8.6High
Exploit odds (30 days)1.2%top 32.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects all versions of package node-import. The "params" argument of module function can be controlled by users without any sanitization.b. This is then provided to the “eval” function located in line 79 in the index file "index.js".
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | node-import | no fix listed | GHSA-pc62-cq5x-3j5g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | node-import | 0 – before unspecified |
References
- https://security.snyk.io/vuln/SNYK-JS-NODEIMPORT-571691 x_refsource_MISC
- https://github.com/mahdaen/node-import/blob/master/index.js%23L79 x_refsource_MISC