CVE-2021-42581

Prototype poisoning in function mapObjIndexed in Ramda 0.27.0 and earlier allows attackers to compromise integrity or availability of application via supplying a crafted object (that contains an own property "__proto__") as an argument to the function. NOTE: the vendor disputes this because the observed behavior only means that a user can create objects that the user didn't know would contain custom prototypes
References
Link Resource
https://github.com/ramda/ramda/pull/3192 Issue Tracking Patch Third Party Advisory
https://jsfiddle.net/3pomzw5g/2/ Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:ramdajs:ramda:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2022-05-10 11:15

Updated : 2024-05-17 02:01


NVD link : CVE-2021-42581

Mitre link : CVE-2021-42581

CVE.ORG link : CVE-2021-42581


JSON object : View

Products Affected

ramdajs

  • ramda
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')