fun-map through 3.3.1 is vulnerable to Prototype Pollution. The function assocInM could be tricked into adding or modifying properties of 'Object.prototype' using a '__proto__' payload.
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://github.com/nathan7/fun-map/blob/master/index.js#L137%2C | |
https://snyk.io/vuln/SNYK-JS-FUNMAP-564436 | exploit third party advisory mitigation |