CVE-2021-42581Ramdajs Ramda
Critical 9.1 No auth needed
Follow: this CVE · Ramdajs · Ramdajs Ramda We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- May 10, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Ramda.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ramdajs | ramda | ≤ 0.27.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- jsfiddle.net Exploit Third Party Advisory