{"id":"CVE-2021-42581","aliases":["EUVD-2021-29546","GHSA-x9wq-pxpv-8p4v"],"status":"disputed","title":"Prototype poisoning in function mapObjIndexed in Ramda 0.27.0 and earlier allows attackers to...","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","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01386,"percentile":0.72452,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-1321"],"published":"2022-05-10T10:08:13Z","modified":"2026-10-20T10:55:01Z","products":[{"vendor":"ramdajs","product":"ramda"}],"references":[{"url":"https://github.com/ramda/ramda/pull/3192","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://jsfiddle.net/3pomzw5g/2/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42581"},{"url":"https://github.com/advisories/GHSA-x9wq-pxpv-8p4v"}],"sources":{"cve":[{"id":"CVE-2021-42581","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","status":"disputed","published":"2022-05-10T10:08:13Z","modified":"2024-08-04T03:38:49.341Z","updated_at":"2026-11-02T14:32:58.739039Z"}],"euvd":[{"id":"EUVD-2021-29546","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","status":"published","published":"2022-05-10T10:08:13Z","modified":"2024-08-04T03:38:49Z","updated_at":"2026-11-03T03:24:15.755984Z"}],"ghsa":[{"id":"GHSA-x9wq-pxpv-8p4v","title":"Prototype poisoning in function mapObjIndexed in Ramda 0.27.0 and earlier allows attackers to...","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.","status":"published","published":"2022-05-11T00:01:41Z","modified":"2023-02-01T05:02:13Z","updated_at":"2026-11-02T14:49:52.298896Z"}],"nvd":[{"id":"CVE-2021-42581","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","status":"disputed","published":"2022-05-10T11:15:07.97Z","modified":"2026-06-17T04:09:51.663Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:07:06.029737Z"}],"osv":[{"id":"CVE-2021-42581","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","status":"published","published":"2022-05-10T11:15:07.97Z","modified":"2026-10-20T10:55:01.402131132Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.557945Z"}]}}
