GitHub Advisoryadvisory · npm

GHSA-cg42-4wrc-gp47 Code Injection in node-extend

CRITICAL Published 2021-05-17 Modified 2021-07-29 Official page ↗
Aliases
CVE-2020-7673
Ecosystem
npm
Packages
node-extend
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2021-05-13

Affected packages

• npm node-extend: <= 0.2.0 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-7673 node-extend through 0.2.0 is vulnerable to Arbitrary Code Execution. vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References