{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-42581","published":"2022-05-10T11:15:07.970000Z","last_modified":"2026-06-17T04:09:51.663000Z","status":"Modified","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1321"],"cpes":[{"criteria":"cpe:2.3:a:ramdajs:ramda:*:*:*:*:*:*:*:*","part":"a","vendor":"ramdajs","product":"ramda","version_end_including":"0.27.0"}],"cpes_truncated":false,"vendors":["ramdajs"],"products":["ramdajs/ramda"],"epss":{"score":0.01386,"percentile":0.72428,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2021-42581/","html_en":"/en/cve/CVE-2021-42581/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42581","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42581"},"untrusted":{"vendor_name":"Ramdajs","product_name":"Ramda","desc_en":"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":[],"references":[{"url":"https://github.com/ramda/ramda/pull/3192","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://jsfiddle.net/3pomzw5g/2/","tags":["Exploit","Third Party Advisory"]}]}}