{"id":"CVE-2021-42581","aliases":[],"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 ow...","published_at":"2022-05-10T00:00:00Z","modified_at":"2026-08-04T16:59:03Z","products":[{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"critical","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.013860000297427177,"percentile":0.72816002368927,"date":"2026-11-19T00:00:00Z"},"priority":11.1,"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","affected_stack":[{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-42581","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"ramdajs:ramda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.27.0"}]}],"provider":"nvd","source":"CVE-2021-42581","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"not_affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["openshift-service-mesh/kiali-rhel8","servicemesh-grafana"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat A-MQ Online","cpe":"cpe:/a:redhat:amq_online:1","status":"not_affected","packages":["ramda"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/application-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/grc-ui-rhel8","rhacm2/kui-web-terminal-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5","cpe":"cpe:/a:redhat:ceph_storage:5","status":"affected","packages":["rhceph/rhceph-5-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 6.1 Tools","cpe":"cpe:/a:redhat:ceph_storage:6.1::el9","status":"fixed","packages":["rhceph/rhceph-6-dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:3642"],"provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 6.1 Tools","cpe":"cpe:/a:redhat:ceph_storage:6.1::el9","status":"not_affected","packages":["rhceph/keepalived-rhel9","rhceph/rhceph-6-rhel9","rhceph/rhceph-haproxy-rhel9","rhceph/rhceph-promtail-rhel9","rhceph/snmp-notifier-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"affected","packages":["ramda"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/odf-console-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"affected","packages":["ramda"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-42581"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0809","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0809","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-03-30T22:00:00Z","modified_at":"2024-02-19T23:00:00Z","summary":"IBM QRadar SIEM: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in IBM QRadar SIEM ausnutzen, um beliebigen Programmcode auszuführen, Informationen offenzulegen, Informationen falsch darzustellen, einen Denial of Service Zustand herbeizuführen, Sicherheitsvorkehrungen zu umgehen, einen Cross-Site-Scripting-Angriff durchzuführen oder unbekannte Auswirkungen zu verursachen.\n\nIBM QRadar Security Information and Event Management (SIEM) bietet Unterstützung bei der Erkennung und Priorisierung von Sicherheitsbedrohungen im Unternehmen.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2023-0809"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0809.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0809"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/6967283"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/6967333"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/6980799"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7108657"},{"type":"WEB","url":"https://bodhi.fedoraproject.org/updates/FEDORA-2024-5ecc250449"}]},{"provider":"cvelistv5","source_id":"CVE-2021-42581","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-42581","license":"CC-BY-4.0","published_at":"2022-05-10T10:08:13Z","modified_at":"2024-08-04T03:38:49.341Z","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 ow...","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","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/ramda/ramda/pull/3192"},{"type":"WEB","url":"https://jsfiddle.net/3pomzw5g/2/"}]},{"provider":"nvd","source_id":"CVE-2021-42581","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42581","severity":[],"affected":[{"ecosystem":"NVD","package":"ramdajs:ramda","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.27.0"}]}],"provider":"nvd","source":"CVE-2021-42581","relation":"self"}],"product_status":[],"references":[]},{"provider":"redhat-vex","source_id":"CVE-2021-42581","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-42581","license":"CC-BY-4.0","published_at":"2022-05-10T00:00:00Z","modified_at":"2026-08-04T16:59:03Z","summary":"ramda: prototype poisoning","details":"A flaw was found in the Ramda NPM package that involves prototype poisoning. This flaw allows attackers to supply a crafted object, affecting the integrity or availability of the application.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"CVE-2021-42581"},{"type":"Red Hat","score":"Moderate","source":"CVE-2021-42581"}],"affected":[{"ecosystem":"Red Hat:service_mesh:2.1","package":"servicemesh-grafana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-42581","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Migration Toolkit for Virtualization","cpe":"cpe:/a:redhat:migration_toolkit_virtualization:2","status":"not_affected","packages":["migration-toolkit-virtualization/mtv-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.1","cpe":"cpe:/a:redhat:service_mesh:2.1","status":"affected","packages":["openshift-service-mesh/kiali-rhel8","servicemesh-grafana"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat A-MQ Online","cpe":"cpe:/a:redhat:amq_online:1","status":"not_affected","packages":["ramda"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/application-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/grc-ui-rhel8","rhacm2/kui-web-terminal-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 5","cpe":"cpe:/a:redhat:ceph_storage:5","status":"affected","packages":["rhceph/rhceph-5-dashboard-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 6.1 Tools","cpe":"cpe:/a:redhat:ceph_storage:6.1::el9","status":"fixed","packages":["rhceph/rhceph-6-dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:3642"],"provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Ceph Storage 6.1 Tools","cpe":"cpe:/a:redhat:ceph_storage:6.1::el9","status":"not_affected","packages":["rhceph/keepalived-rhel9","rhceph/rhceph-6-rhel9","rhceph/rhceph-haproxy-rhel9","rhceph/rhceph-promtail-rhel9","rhceph/snmp-notifier-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"affected","packages":["ramda"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["grafana","grafana-azure-monitor","grafana-cloudwatch","grafana-elasticsearch","grafana-graphite","grafana-influxdb","grafana-loki","grafana-mssql","grafana-mysql","grafana-opentsdb","grafana-postgres","grafana-prometheus","grafana-selinux","grafana-stackdriver"],"package_count":14,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["grafana","grafana-selinux"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"not_affected","packages":["odf4/odf-console-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-42581"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"affected","packages":["ramda"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-42581"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-42581.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-42581"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2083778"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-42581"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42581"},{"type":"WEB","url":"https://github.com/ramda/ramda/pull/3192"}]}],"references":[{"type":"WEB","url":"https://github.com/ramda/ramda/pull/3192"},{"type":"WEB","url":"https://jsfiddle.net/3pomzw5g/2/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-42581.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-42581"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2083778"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-42581"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42581"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-0809","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-0809","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-02-19T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-42581","url":"https://www.cve.org/CVERecord?id=CVE-2021-42581","license":"CC-BY-4.0","modified_at":"2024-08-04T03:38:49.341Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-42581","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42581","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-42581","url":"https://access.redhat.com/security/cve/CVE-2021-42581","license":"CC-BY-4.0","modified_at":"2026-08-04T16:59:03Z","relation":"self"}]}
