Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

CVE-2021-23436 (High) detected in immer-8.0.1.tgz #644

Open
mend-bolt-for-github bot opened this issue Sep 3, 2021 · 0 comments
Open

CVE-2021-23436 (High) detected in immer-8.0.1.tgz #644

mend-bolt-for-github bot opened this issue Sep 3, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Sep 3, 2021

CVE-2021-23436 - High Severity Vulnerability

Vulnerable Library - immer-8.0.1.tgz

Create your next immutable state by mutating the current one

Library home page: https://registry.npmjs.org/immer/-/immer-8.0.1.tgz

Path to dependency file: web-ui/package.json

Path to vulnerable library: web-ui/node_modules/immer/package.json

Dependency Hierarchy:

  • react-dev-utils-11.0.4.tgz (Root Library)
    • immer-8.0.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

This affects the package immer before 9.0.6. A type confusion vulnerability can lead to a bypass of CVE-2020-28477 when the user-provided keys used in the path parameter are arrays. In particular, this bypass is possible because the condition (p === "proto" || p === "constructor") in applyPatches_ returns false if p is ['proto'] (or ['constructor']). The === operator (strict equality operator) returns false if the operands have different type.

Publish Date: 2021-09-01

URL: CVE-2021-23436

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • 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-23436

Release Date: 2021-09-01

Fix Resolution: immer - 9.0.6


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Sep 3, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-23436 (Medium) detected in immer-8.0.1.tgz CVE-2021-23436 (High) detected in immer-8.0.1.tgz Sep 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants