LiveActive security incident?Get immediate response
CVE Record

CVE-2021-42581: Prototype poisoning in function mapObjIndexed in Ramda 0.27.0 and earlier allows attackers to compromise in...

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This CVE concerns Ramda, a JavaScript utility library. The reported issue says applications using mapObjIndexed on crafted objects may unexpectedly create objects with custom prototypes, affecting integrity or availability. The vendor disputes the vulnerability characterization, and the public record provides no CVSS score or confirmed active exploitation.

Executive priority

Do not treat this as an emergency from the supplied evidence. Prioritize inventory and targeted validation where Ramda handles external input, then follow vendor guidance.

Technical view

CVE-2021-42581 reports prototype poisoning in Ramda 0.27.0 and earlier through mapObjIndexed when given an object with an own __proto__ property. The CVE says this could affect integrity or availability. The note says the vendor disputes it as expected object/prototype behavior rather than a security flaw.

Likely exposure

Exposure is limited to JavaScript applications using Ramda 0.27.0 or earlier and passing attacker-controlled objects into mapObjIndexed or related data flows.

Exploitation context

The source bundle does not show KEV listing, active exploitation, weaponized public exploits, CVSS scoring, or a confirmed patched version. Treat exploitability as unconfirmed and context-dependent.

Researcher notes

Key uncertainty is whether observed behavior crosses a security boundary in real applications. The vendor dispute, missing CVSS, absent KEV status, and lack of named fix reduce confidence in broad severity claims.

Mitigation direction

  • Inventory Ramda versions in application dependencies and SBOMs.
  • Identify uses of mapObjIndexed that process untrusted object input.
  • Reject or normalize dangerous object keys before transformation boundaries.
  • Check Ramda vendor guidance and advisories for supported remediation direction.
  • Add regression tests for prototype-sensitive object handling.

Validation and detection

  • Confirm whether Ramda 0.27.0 or earlier is present.
  • Trace mapObjIndexed call sites handling user-controlled objects.
  • Review whether transformed objects influence authorization, routing, caching, or persistence.
  • Test that crafted prototype keys do not alter trusted object behavior.
  • Document the vendor dispute in vulnerability tracking records.
Prepared
Confidence
low
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-42581 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.