GHSA-pc62-cq5x-3j5g
Dashboard / Vulnerabilities / GHSA-pc62-cq5x-3j5g
Summary: node-import `params` argument can be controlled by users without any sanitization
Details: This affects all versions of package node-import. The `params` argument of module function can be controlled by users without any sanitization. This is then provided to the “eval” function located in line 79 in the index file `index.js`.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-7678, https://github.com/mahdaen/node-import, https://github.com/mahdaen/node-import/blob/master/index.js%23L79, https://security.snyk.io/vuln/SNYK-JS-NODEIMPORT-571691
Affected packages
Package
Name: node-import
Purl: pkg:npm/node-import
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
