The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-EXTEND2-2320315 | third party advisory exploit |
https://github.com/eggjs/extend2/blob/master/index.js%23L50-L60 | broken link |
https://github.com/eggjs/extend2/commit/aa332a59116c8398976434b57ea477c6823054f8 | third party advisory patch |
https://github.com/eggjs/extend2/pull/2 | patch third party advisory issue tracking |