Versions of the package collection.js before 6.8.1 are vulnerable to Prototype Pollution via the extend function in Collection.js/dist/node/iterators/extend.js.
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://security.snyk.io/vuln/SNYK-JS-COLLECTIONJS-3185148 | exploit third party advisory technical description |
https://github.com/kobezzza/Collection/issues/27 | issue tracking patch exploit third party advisory |
https://github.com/kobezzza/Collection/blob/be32c48e68f49d3be48a58e929d1ab8ff1d2d19c/dist/node/iterators/extend.js%23L324 | broken link |
https://github.com/kobezzza/Collection/releases/tag/v6.8.1 | patch release notes |
https://github.com/kobezzza/Collection/commit/d3d937645f62f37d3115d6aa90bb510fd856e6a2 | patch |