CVE-2021-42581
JSON

9.1critical

Prototype poisoning in function mapObjIndexed in Ramda 0.27.0 and earlier allows attackers to compromise integrity or availability of appli…

Severity
9.1critical CVSS:3.1 by NVD
Exploit likelihood
1.39% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
ramdajs ramdaup to 0.27.0NVD

All scores

NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD6.4medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:P

Classification

What each source says

CVE List

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

NVD (es)

** EN DISPUTA ** Un envenenamiento de prototipos en la función mapObjIndexed en Ramda versiones 0.27.0 y anteriores, permite a atacantes comprometer la integridad o la disponibilidad de la aplicación por medio del suministro de un objeto diseñado (que contiene una propiedad propia "__proto__") como argumento de la función. NOTA: el proveedor discute esto porque el comportamiento observado sólo significa que un usuario puede crear objetos que el usuario no sabía que contendrían prototipos personalizados

References

https://github.com/ramda/ramda/pull/3192issue-tracking, patch, third-party-advisory
https://jsfiddle.net/3pomzw5g/2/exploit, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-42581 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-42581 changed 2026-06-17Public domain