pactflow / example-consumer-cypress

Demonstrate running a consumer pact test with Cypress
MIT License
33 stars 22 forks source link

CVE-2021-26707 (High) detected in merge-deep-3.0.2.tgz #38

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

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

CVE-2021-26707 - High Severity Vulnerability

Vulnerable Library - merge-deep-3.0.2.tgz

Recursively merge values in a javascript object.

Library home page: https://registry.npmjs.org/merge-deep/-/merge-deep-3.0.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/merge-deep/package.json

Dependency Hierarchy: - react-scripts-3.4.0.tgz (Root Library) - webpack-4.3.3.tgz - plugin-svgo-4.3.1.tgz - :x: **merge-deep-3.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: 340e24f4064182631ba657b42580dbb0476e3b94

Found in base branch: master

Vulnerability Details

The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.

Publish Date: 2021-06-02

URL: CVE-2021-26707

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://bugzilla.redhat.com/show_bug.cgi?id=1922259

Release Date: 2021-06-02

Fix Resolution (merge-deep): 3.0.3

Direct dependency fix Resolution (react-scripts): 3.4.1