CVE-2021-42581
Last modified
CVE-2021-42581 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 1.30% chance of exploitation in the next 30 days.
Description
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ramdajs | Ramda | <= 0.27.0 |
References
- https://github.com/ramda/ramda/pull/3192Issue Tracking, Patch, Third Party Advisory
- https://jsfiddle.net/3pomzw5g/2/Exploit, Third Party Advisory
- https://github.com/ramda/ramda/pull/3192Issue Tracking, Patch, Third Party Advisory
- https://jsfiddle.net/3pomzw5g/2/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-42581?
How severe is CVE-2021-42581?
How do I fix CVE-2021-42581?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-42574An issue was discovered in the Bidirectional Algorithm in th…8.3
- CVE-2021-42575The OWASP Java HTML Sanitizer before 20211018.1 does not pro…9.8
- CVE-2021-42576The bluemonday sanitizer before 1.0.16 for Go, and before 0.…9.8
- CVE-2021-42577An issue was discovered in Softing OPC UA C++ SDK before 5.7…7.5
- CVE-2021-4258A vulnerability was found in whohas. It has been rated as pr…7.5
- CVE-2021-42580Sourcecodester Online Learning System 2.0 is vunlerable to s…9.8
- CVE-2021-42583A Broken or Risky Cryptographic Algorithm exists in Max Mazu…7.5
- CVE-2021-42584A Stored Cross Site Scripting (XSS) issue exists in Convos-C…5.4
- CVE-2021-42585A heap buffer overflow was discovered in copy_compressed_byt…8.8
- CVE-2021-42586A heap buffer overflow was discovered in copy_bytes in decod…8.8
- CVE-2021-4259A vulnerability was found in phpRedisAdmin up to 1.16.1. It …9.8
- CVE-2021-42597A Cross Site Scripting (XSS) vulnerability exists in Sourcec…5.4
Are you affected by CVE-2021-42581?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
