PT-2020-4204 · Node.Js · Node-Extend

Published

2020-06-10

·

Updated

2021-07-21

·

CVE-2020-7673

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: node-extend versions prior to 0.2.1
Description: The issue concerns the extend function located within lib/extend.js, where user input provided to the argument A is executed by the eval function, resulting in arbitrary code execution. This is due to insufficient input validation, allowing a remote attacker to execute arbitrary code.
Recommendations: For node-extend versions prior to 0.2.1, as a temporary workaround, consider disabling the extend function until a patch is available. Restrict access to the lib/extend.js file to minimize the risk of exploitation. Avoid using the A argument in the affected extend function until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Code Injection

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2020-04638
CVE-2020-7673
GHSA-CG42-4WRC-GP47
SNYK-JS-NODEEXTEND-571491

Affected Products

Node-Extend