The OWASP NodeGoat project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.
** DISPUTED ** 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.
CVE-2021-42581 - Critical Severity Vulnerability
Vulnerable Library - ramda-0.24.1.tgz
A practical functional library for JavaScript programmers.
Library home page: https://registry.npmjs.org/ramda/-/ramda-0.24.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/ramda/package.json
Dependency Hierarchy: - cypress-3.3.1.tgz (Root Library) - :x: **ramda-0.24.1.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
** DISPUTED ** 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.
Publish Date: 2022-05-10
URL: CVE-2021-42581
CVSS 3 Score Details (9.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42581
Release Date: 2022-05-10
Fix Resolution (ramda): 0.27.1
Direct dependency fix Resolution (cypress): 6.6.0
:rescue_worker_helmet: Automatic Remediation is available for this issue