Jacksole / Learning-JavaScript

A Repo of JS projects created using WSL and in VS Code #React #Node #Angular
0 stars 0 forks source link

CVE-2021-3757 (Critical) detected in immer-1.10.0.tgz #175

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2021-3757 - Critical Severity Vulnerability

Vulnerable Library - immer-1.10.0.tgz

Create your next immutable state by mutating the current one

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

Path to dependency file: /React/react-form-validation-demo/package.json

Path to vulnerable library: /React/react-form-validation-demo/node_modules/immer/package.json,/React/mern-todo-app/node_modules/immer/package.json

Dependency Hierarchy: - react-scripts-3.2.0.tgz (Root Library) - react-dev-utils-9.1.0.tgz - :x: **immer-1.10.0.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

immer is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Publish Date: 2021-09-02

URL: CVE-2021-3757

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://huntr.dev/bounties/23d38099-71cd-42ed-a77a-71e68094adfa/

Release Date: 2021-09-02

Fix Resolution (immer): 9.0.6

Direct dependency fix Resolution (react-scripts): 5.0.0


Step up your Open Source Security Game with Mend here