GHSA-pc62-cq5x-3j5g

Suggest an improvement
Source
https://github.com/advisories/GHSA-pc62-cq5x-3j5g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-pc62-cq5x-3j5g/GHSA-pc62-cq5x-3j5g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pc62-cq5x-3j5g
Aliases
  • CVE-2020-7678
Published
2022-07-26T00:01:05Z
Modified
2023-11-08T04:04:04.280992Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "github_reviewed_at": "2022-08-06T09:35:27Z",
    "cwe_ids": [],
    "nvd_published_at": "2022-07-25T14:15:00Z",
    "severity": "CRITICAL",
    "github_reviewed": true
}
References

Affected packages

npm / node-import

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.9.2