What’s Vulnerable › Vulnerabilities
CVE-2021-42581
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-10 · updated 2026-06-17
- Weakness: CWE-1321
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
Affected products
- Ramdajs Ramda: through 0.27.0
References
- https://github.com/ramda/ramda/pull/3192
- https://jsfiddle.net/3pomzw5g/2/
- https://github.com/ramda/ramda/pull/3192
- https://jsfiddle.net/3pomzw5g/2/
Get alerted when CVE-2021-42581 or the next vulnerability affects your stack