GHSA-cg42-4wrc-gp47

Suggest an improvement
Source
https://github.com/advisories/GHSA-cg42-4wrc-gp47
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-cg42-4wrc-gp47/GHSA-cg42-4wrc-gp47.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cg42-4wrc-gp47
Aliases
Published
2021-05-17T21:00:37Z
Modified
2026-03-13T21:57:07.459889Z
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
Code Injection in node-extend
Details

node-extend through 0.2.0 is vulnerable to Arbitrary Code Execution. User input provided to the argument A of extend function(A,B,as,isAargs) located within lib/extend.js is executed by the eval function, resulting in code execution.

Database specific
{
    "github_reviewed_at": "2021-05-13T17:00:57Z",
    "nvd_published_at": "2020-06-10T16:15:00Z",
    "cwe_ids": [
        "CWE-94"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true
}
References

Affected packages

npm / node-extend

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-cg42-4wrc-gp47/GHSA-cg42-4wrc-gp47.json"