CVE-2021-42581

** DISPUTED ** 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
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

21 Nov 2024, 06:27

Type Values Removed Values Added
References () https://github.com/ramda/ramda/pull/3192 - Issue Tracking, Patch, Third Party Advisory () https://github.com/ramda/ramda/pull/3192 - Issue Tracking, Patch, Third Party Advisory
References () https://jsfiddle.net/3pomzw5g/2/ - Exploit, Third Party Advisory () https://jsfiddle.net/3pomzw5g/2/ - Exploit, Third Party Advisory

02 Jun 2022, 14:15

Type Values Removed Values Added
Summary 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. ** DISPUTED ** 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.

19 May 2022, 14:31

Type Values Removed Values Added
References (MISC) https://github.com/ramda/ramda/pull/3192 - (MISC) https://github.com/ramda/ramda/pull/3192 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://jsfiddle.net/3pomzw5g/2/ - (MISC) https://jsfiddle.net/3pomzw5g/2/ - Exploit, Third Party Advisory
CPE cpe:2.3:a:ramdajs:ramda:*:*:*:*:*:*:*:*
CWE CWE-1321
CVSS v2 : unknown
v3 : unknown
v2 : 6.4
v3 : 9.1

10 May 2022, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-05-10 11:15

Updated : 2024-11-21 06:27


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')