{"id":"CVE-2021-42581","aliases":["CVE-2021-42581"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype poisoning in function mapObjIndexed in Ramda 0.27.0 and earlier allows attackers to compromise integrity or availability of appli…","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. 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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"** 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","source":"nvd"}],"published":"2022-05-10T10:08:13.000Z","modified":"2026-06-17T04:09:51.663Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.27.0"}],"vendor":"ramdajs","product":"ramda","cpe":"cpe:2.3:a:ramdajs:ramda:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ramda/ramda/pull/3192","tags":["issue-tracking","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://jsfiddle.net/3pomzw5g/2/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-42581","url":"https://www.cve.org/CVERecord?id=CVE-2021-42581","licence":"CVE Terms of Use","modified":"2024-08-04T03:38:49.341Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42581","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42581","licence":"Public domain","modified":"2026-06-17T04:09:51.663Z"}],"updatedAt":"2026-11-25T22:58:07.461Z","epss":{"score":0.01386,"percentile":0.73029,"date":"2026-12-01T12:00:22.000Z"}}