CVE-2021-42581

CRITICAL

ramda < 0.27.0 - Prototype Pollution via mapObjIndexed Function

Title source: llm
STIX 2.1

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

References (2)

Core 2
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/ramda/ramda/pull/3192
Exploit, Third Party Advisory x_refsource_misc
https://jsfiddle.net/3pomzw5g/2/

Scores

CVSS v3 9.1
EPSS 0.0133
EPSS Percentile 67.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Details

CWE
CWE-1321
Status published
Products (1)
ramdajs/ramda < 0.27.0
Published May 10, 2022
Tracked Since Feb 18, 2026