Vulnerability Description
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
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ramdajs | Ramda | <= 0.27.0 |
Related Weaknesses (CWE)
References
- https://github.com/ramda/ramda/pull/3192Issue TrackingPatchThird Party Advisory
- https://jsfiddle.net/3pomzw5g/2/ExploitThird Party Advisory
- https://github.com/ramda/ramda/pull/3192Issue TrackingPatchThird Party Advisory
- https://jsfiddle.net/3pomzw5g/2/ExploitThird Party Advisory
FAQ
What is CVE-2021-42581?
CVE-2021-42581 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 p...
How severe is CVE-2021-42581?
CVE-2021-42581 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-42581?
Check the references section above for vendor advisories and patch information. Affected products include: Ramdajs Ramda.