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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ramdajs ramda | up to 0.27.0 | NVD |
All scores
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 6.4medium CVSS:2.0 | AV: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/3192 | issue-tracking, patch, third-party-advisory | |
| https://jsfiddle.net/3pomzw5g/2/ | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42581 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-42581 changed 2026-06-17 | Public domain |