CVE-2020-7673 json
Code Injection in node-extend
published 6y ago modified 4mo ago also GHSA-cg42-4wrc-gp47 , EUVD-2021-1043
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Is CVE-2020-7673 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.58% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-NODEEXTEND-571491 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-extend | <=0.2.0 |
no fix listed |
Affected products
- n/a node-extend
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
snyk.io
/vuln/SNYK-JS-NODEEXTEND-571491
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7673
advisory
Sources
- CVE List CVE-2020-7673
- GitHub Advisory GHSA-cg42-4wrc-gp47
- NVD CVE-2020-7673
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.