CVE-2021-42581

Source
https://cve.org/CVERecord?id=CVE-2021-42581
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42581.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-42581
Published
2022-05-10T11:15:07.970Z
Modified
2026-07-09T05:45:30.298408Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
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

References

Affected packages

Git / github.com/ramda/ramda

Affected ranges

Type
GIT
Repo
https://github.com/ramda/ramda
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.27.0"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:ramdajs:ramda:*:*:*:*:*:*:*:*"
}

Affected versions

0.*
0.26.0
0.26.1
v0.*
v0.1.0
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.15.1
v0.16.0
v0.17.0
v0.17.1
v0.18.0
v0.19.0
v0.19.1
v0.2.1
v0.2.3
v0.2.4
v0.20.0
v0.20.1
v0.21.0
v0.22.0
v0.22.1
v0.23.0
v0.24.0
v0.24.1
v0.25.0
v0.26.0
v0.26.1
v0.27.0
v0.3.0
v0.4.0
v0.4.2
v0.4.3
v0.5.0
v0.6.0
v0.7.0
v0.7.1
v0.7.2
v0.8.0
v0.9.0
v0.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42581.json"