faizulho / sanity-gatsby-blog

Blog with Gatsby
0 stars 0 forks source link

CVE-2023-28154 (Critical) detected in webpack-5.52.1.tgz #573

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2023-28154 - Critical Severity Vulnerability

Vulnerable Library - webpack-5.52.1.tgz

Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

Library home page: https://registry.npmjs.org/webpack/-/webpack-5.52.1.tgz

Path to dependency file: /web/package.json

Path to vulnerable library: /web/node_modules/webpack/package.json

Dependency Hierarchy: - gatsby-3.13.0.tgz (Root Library) - :x: **webpack-5.52.1.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Webpack 5 before 5.76.0 does not avoid cross-realm object access. ImportParserPlugin.js mishandles the magic comment feature. An attacker who controls a property of an untrusted object can obtain access to the real global object.

Publish Date: 2023-03-13

URL: CVE-2023-28154

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

Release Date: 2023-03-13

Fix Resolution (webpack): 5.76.0

Direct dependency fix Resolution (gatsby): 3.13.1


Step up your Open Source Security Game with Mend here