MEDIUM
GHSA-qrmc-fj45-qfc2
Prototype Pollution in extend
Quick fix
GHSA-qrmc-fj45-qfc2 — extend: upgrade to the fixed version with the command below.
npm install extend@3.0.2Details
Versions of `extend` prior to 3.0.2 (for 3.x) and 2.0.2 (for 2.x) are vulnerable to Prototype Pollution. The `extend()` function allows attackers to modify the prototype of Object causing the addition or modification of an existing property that will exist on all objects.
## Recommendation
If you're using `extend` 3.x upgrade to 3.0.2 or later. If you're using `extend` 2.x upgrade to 2.0.2 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-16492[ADVISORY]
- https://github.com/github/advisory-database/pull/6695[WEB]
- https://github.com/justmoon/node-extend/pull/48[WEB]
- https://github.com/justmoon/node-extend/commit/0e68e71d93507fcc391e398bc84abd0666b28190[WEB]
- https://hackerone.com/reports/381185[WEB]
- https://github.com/justmoon/node-extend[PACKAGE]