Skip to content

CVE-2021-42581 (Medium) detected in ramda-0.27.0.tgz - autoclosed #520

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2021-42581 - Medium Severity Vulnerability

Vulnerable Library - ramda-0.27.0.tgz

A practical functional library for JavaScript programmers.

Library home page: https://registry.npmjs.org/ramda/-/ramda-0.27.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/ramda/package.json

Dependency Hierarchy:

  • eslint-plugin-mocha-7.0.1.tgz (Root Library)
    • ramda-0.27.0.tgz (Vulnerable Library)

Found in HEAD commit: 4fc35a18c3a967d9d6e32b851af8115908feeac9

Found in base branch: master

Vulnerability 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.

Publish Date: 2022-05-10

URL: CVE-2021-42581

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • 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 (eslint-plugin-mocha): 8.0.0


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions