{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:ramdajs:ramda:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.27.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ed191e6a476330e37db259a5c2d04bfba0b2d63d"
            }
          ],
          "repo": "https://github.com/ramda/ramda",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "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",
  "id": "CVE-2021-42581",
  "modified": "2026-07-08T05:37:53.319687398Z",
  "published": "2022-05-10T11:15:07.970Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/ramda/ramda/pull/3192"
    },
    {
      "type": "EVIDENCE",
      "url": "https://jsfiddle.net/3pomzw5g/2/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}