Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core-2.3.1.tgz: 32 vulnerabilities (highest severity is: 9.8) #592

Open
mend-for-github-com bot opened this issue Feb 9, 2023 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Feb 9, 2023

Vulnerable Library - core-2.3.1.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/ws/package.json

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (core version) Remediation Possible**
CVE-2023-28154 Critical 9.8 webpack-5.75.0.tgz Transitive N/A*
CVE-2022-37601 Critical 9.8 loader-utils-2.0.2.tgz Transitive N/A*
CVE-2021-44906 Critical 9.8 minimist-1.2.5.tgz Transitive N/A*
CVE-2023-45133 Critical 9.3 detected in multiple dependencies Transitive N/A*
CVE-2024-45590 High 7.5 body-parser-1.20.0.tgz Transitive N/A*
CVE-2024-45296 High 7.5 detected in multiple dependencies Transitive N/A*
CVE-2024-4068 High 7.5 braces-3.0.2.tgz Transitive N/A*
CVE-2024-37890 High 7.5 detected in multiple dependencies Transitive N/A*
CVE-2024-21540 High 7.5 source-map-support-0.5.21.tgz Transitive N/A*
CVE-2024-21538 High 7.5 cross-spawn-7.0.3.tgz Transitive N/A*
CVE-2022-37603 High 7.5 detected in multiple dependencies Transitive N/A*
CVE-2022-37599 High 7.5 loader-utils-2.0.2.tgz Transitive N/A*
CVE-2022-3517 High 7.5 minimatch-3.0.4.tgz Transitive N/A*
CVE-2020-7753 High 7.5 trim-0.0.1.tgz Transitive N/A*
CVE-2024-29180 High 7.4 webpack-dev-middleware-5.3.1.tgz Transitive N/A*
CVE-2023-26159 High 7.3 follow-redirects-1.14.9.tgz Transitive N/A*
CVE-2022-46175 High 7.1 detected in multiple dependencies Transitive N/A*
CVE-2024-28849 Medium 6.5 follow-redirects-1.14.9.tgz Transitive N/A*
CVE-2023-45857 Medium 6.5 axios-0.25.0.tgz Transitive N/A*
CVE-2024-43788 Medium 6.4 webpack-5.75.0.tgz Transitive N/A*
CVE-2024-29041 Medium 6.1 express-4.18.1.tgz Transitive N/A*
CVE-2023-25166 Medium 5.5 formula-3.0.0.tgz Transitive N/A*
CVE-2024-47764 Medium 5.3 cookie-0.5.0.tgz Transitive N/A*
CVE-2024-4067 Medium 5.3 detected in multiple dependencies Transitive N/A*
CVE-2023-44270 Medium 5.3 detected in multiple dependencies Transitive N/A*
CVE-2022-33987 Medium 5.3 got-9.6.0.tgz Transitive N/A*
CVE-2022-25883 Medium 5.3 detected in multiple dependencies Transitive N/A*
CVE-2022-25881 Medium 5.3 http-cache-semantics-4.1.0.tgz Transitive N/A*
CVE-2022-25858 Medium 5.3 terser-5.12.1.tgz Transitive N/A*
CVE-2024-43800 Medium 5.0 serve-static-1.15.0.tgz Transitive N/A*
CVE-2024-43799 Medium 5.0 send-0.18.0.tgz Transitive N/A*
CVE-2024-43796 Medium 5.0 express-4.18.1.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

Partial details (21 vulnerabilities) are displayed below due to a content size limitation in GitHub. To view information on the remaining vulnerabilities, navigate to the Mend Application.

CVE-2023-28154

Vulnerable Library - webpack-5.75.0.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.75.0.tgz

Path to dependency file: /website/package.json

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

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-5.75.0.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

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

CVE-2022-37601

Vulnerable Library - loader-utils-2.0.2.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/loader-utils/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • file-loader-6.2.0.tgz
      • loader-utils-2.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils via the name variable in parseQuery.js. This affects all versions prior to 1.4.1 and 2.0.3.

Publish Date: 2022-10-12

URL: CVE-2022-37601

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: GHSA-76p3-8jx3-jpfq

Release Date: 2022-10-12

Fix Resolution: loader-utils - 1.4.1,2.0.3

CVE-2021-44906

Vulnerable Library - minimist-1.2.5.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/minimist/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • wait-on-6.0.1.tgz
      • minimist-1.2.5.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: 2022-03-17

URL: CVE-2021-44906

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: GHSA-xvch-5gv4-984h

Release Date: 2022-03-17

Fix Resolution: minimist - 0.2.4,1.2.6

CVE-2023-45133

Vulnerable Libraries - traverse-7.20.1.tgz, traverse-7.17.3.tgz

traverse-7.20.1.tgz

The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes

Library home page: https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.1.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/@docusaurus/core/node_modules/@babel/traverse/package.json,/website/node_modules/@babel/traverse/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • traverse-7.20.1.tgz (Vulnerable Library)

traverse-7.17.3.tgz

The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes

Library home page: https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.3.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/@babel/traverse/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • mdx-loader-2.3.1.tgz
      • mdx-1.6.22.tgz
        • core-7.12.9.tgz
          • traverse-7.17.3.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Babel is a compiler for writingJavaScript. In @babel/traverse prior to versions 7.23.2 and 8.0.0-alpha.4 and all versions of babel-traverse, using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the path.evaluate()or path.evaluateTruthy() internal Babel methods. Known affected plugins are @babel/plugin-transform-runtime; @babel/preset-env when using its useBuiltIns option; and any "polyfill provider" plugin that depends on @babel/helper-define-polyfill-provider, such as babel-plugin-polyfill-corejs3, babel-plugin-polyfill-corejs2, babel-plugin-polyfill-es-shims, babel-plugin-polyfill-regenerator. No other plugins under the @babel/ namespace are impacted, but third-party plugins might be. Users that only compile trusted code are not impacted. The vulnerability has been fixed in @babel/[email protected] and @babel/[email protected]. Those who cannot upgrade @babel/traverse and are using one of the affected packages mentioned above should upgrade them to their latest version to avoid triggering the vulnerable code path in affected @babel/traverse versions: @babel/plugin-transform-runtime v7.23.2, @babel/preset-env v7.23.2, @babel/helper-define-polyfill-provider v0.4.3, babel-plugin-polyfill-corejs2 v0.4.6, babel-plugin-polyfill-corejs3 v0.8.5, babel-plugin-polyfill-es-shims v0.10.0, babel-plugin-polyfill-regenerator v0.5.3.

Publish Date: 2023-10-12

URL: CVE-2023-45133

CVSS 3 Score Details (9.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • 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: GHSA-67hx-6x53-jw92

Release Date: 2023-10-12

Fix Resolution: @babel/traverse - 7.23.2

CVE-2024-45590

Vulnerable Library - body-parser-1.20.0.tgz

Node.js body parsing middleware

Library home page: https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/body-parser/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-dev-server-4.11.1.tgz
      • express-4.18.1.tgz
        • body-parser-1.20.0.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

body-parser is Node.js body parsing middleware. body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service. This issue is patched in 1.20.3.

Publish Date: 2024-09-10

URL: CVE-2024-45590

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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: GHSA-qwcr-r2fm-qrc7

Release Date: 2024-09-10

Fix Resolution: body-parser - 1.20.3

CVE-2024-45296

Vulnerable Libraries - path-to-regexp-2.2.1.tgz, path-to-regexp-1.8.0.tgz, path-to-regexp-0.1.7.tgz

path-to-regexp-2.2.1.tgz

Express style path to RegExp utility

Library home page: https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/path-to-regexp/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • serve-handler-6.1.3.tgz
      • path-to-regexp-2.2.1.tgz (Vulnerable Library)

path-to-regexp-1.8.0.tgz

Express style path to RegExp utility

Library home page: https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/path-to-regexp/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • react-router-5.3.3.tgz
      • path-to-regexp-1.8.0.tgz (Vulnerable Library)

path-to-regexp-0.1.7.tgz

Express style path to RegExp utility

Library home page: https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/path-to-regexp/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-dev-server-4.11.1.tgz
      • express-4.18.1.tgz
        • path-to-regexp-0.1.7.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.

Publish Date: 2024-09-09

URL: CVE-2024-45296

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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: GHSA-9wv6-86v2-598j

Release Date: 2024-09-09

Fix Resolution: path-to-regexp - 0.1.10,8.0.0

CVE-2024-4068

Vulnerable Library - braces-3.0.2.tgz

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

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

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/braces/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • chokidar-3.5.3.tgz
      • braces-3.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

The NPM package braces, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In lib/parse.js, if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.
Mend Note: After conducting a further research, it was concluded that CVE-2024-4068 does not contain a high security risk that reflects the NVD score, but should be kept for users' awareness. Users of braces should follow the fix recommendation as noted.

Publish Date: 2024-05-13

URL: CVE-2024-4068

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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

Release Date: 2024-05-13

Fix Resolution: braces - 3.0.3

CVE-2024-37890

Vulnerable Libraries - ws-7.5.7.tgz, ws-8.5.0.tgz

ws-7.5.7.tgz

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

Library home page: https://registry.npmjs.org/ws/-/ws-7.5.7.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/ws/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-bundle-analyzer-4.5.0.tgz
      • ws-7.5.7.tgz (Vulnerable Library)

ws-8.5.0.tgz

Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js

Library home page: https://registry.npmjs.org/ws/-/ws-8.5.0.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/ws/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-dev-server-4.11.1.tgz
      • ws-8.5.0.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in [email protected] (e55e510) and backported to [email protected] (22c2876), [email protected] (eeb76d3), and [email protected] (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.

Publish Date: 2024-06-17

URL: CVE-2024-37890

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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: GHSA-3h5v-q93c-6h6q

Release Date: 2024-06-17

Fix Resolution: ws - 5.2.4,6.2.3,7.5.10,8.17.1

CVE-2024-21540

Vulnerable Library - source-map-support-0.5.21.tgz

Fixes stack traces for files with source maps

Library home page: https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/source-map-support/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • html-minifier-terser-6.1.0.tgz
      • terser-5.12.1.tgz
        • source-map-support-0.5.21.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

All versions of the package source-map-support are vulnerable to Directory Traversal in the retrieveSourceMap function.

Publish Date: 2024-11-13

URL: CVE-2024-21540

CVSS 3 Score Details (7.5)

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: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

CVE-2024-21538

Vulnerable Library - cross-spawn-7.0.3.tgz

Cross platform child_process#spawn and child_process#spawnSync

Library home page: https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/cross-spawn/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • react-dev-utils-12.0.1.tgz
      • cross-spawn-7.0.3.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Versions of the package cross-spawn before 7.0.5 are vulnerable to Regular Expression Denial of Service (ReDoS) due to improper input sanitization. An attacker can increase the CPU usage and crash the program by crafting a very large and well crafted string.

Publish Date: 2024-11-08

URL: CVE-2024-21538

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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://www.cve.org/CVERecord?id=CVE-2024-21538

Release Date: 2024-11-08

Fix Resolution: cross-spawn - 7.0.5

CVE-2022-37603

Vulnerable Libraries - loader-utils-3.2.0.tgz, loader-utils-2.0.2.tgz

loader-utils-3.2.0.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.0.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/loader-utils/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • react-dev-utils-12.0.1.tgz
      • loader-utils-3.2.0.tgz (Vulnerable Library)

loader-utils-2.0.2.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/loader-utils/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • file-loader-6.2.0.tgz
      • loader-utils-2.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.0 via the url variable in interpolateName.js.

Publish Date: 2022-10-14

URL: CVE-2022-37603

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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: GHSA-3rfm-jhwj-7488

Release Date: 2022-10-14

Fix Resolution: loader-utils - 1.4.2,2.0.4,3.2.1

CVE-2022-37599

Vulnerable Library - loader-utils-2.0.2.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/loader-utils/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • file-loader-6.2.0.tgz
      • loader-utils-2.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.0 via the resourcePath variable in interpolateName.js.

Publish Date: 2022-10-11

URL: CVE-2022-37599

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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: GHSA-hhq3-ff78-jv3g

Release Date: 2022-10-11

Fix Resolution: loader-utils - 1.4.2,2.0.4,3.2.1

CVE-2022-3517

Vulnerable Library - minimatch-3.0.4.tgz

a glob matcher in javascript

Library home page: https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/minimatch/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • serve-handler-6.1.3.tgz
      • minimatch-3.0.4.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

Publish Date: 2022-10-17

URL: CVE-2022-3517

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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

Release Date: 2022-10-17

Fix Resolution: minimatch - 3.0.5

CVE-2020-7753

Vulnerable Library - trim-0.0.1.tgz

Trim string whitespace

Library home page: https://registry.npmjs.org/trim/-/trim-0.0.1.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/trim/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • mdx-loader-2.3.1.tgz
      • mdx-1.6.22.tgz
        • remark-parse-8.0.3.tgz
          • trim-0.0.1.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) via trim().

Publish Date: 2020-10-27

URL: CVE-2020-7753

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • 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

Release Date: 2020-10-27

Fix Resolution: trim - 0.0.3

CVE-2024-29180

Vulnerable Library - webpack-dev-middleware-5.3.1.tgz

A development middleware for webpack

Library home page: https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/webpack-dev-middleware/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-dev-server-4.11.1.tgz
      • webpack-dev-middleware-5.3.1.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Prior to versions 7.1.0, 6.1.2, and 5.3.4, the webpack-dev-middleware development middleware for devpack does not validate the supplied URL address sufficiently before returning the local file. It is possible to access any file on the developer's machine. The middleware can either work with the physical filesystem when reading the files or it can use a virtualized in-memory memfs filesystem. If writeToDisk configuration option is set to true, the physical filesystem is used. The getFilenameFromUrl method is used to parse URL and build the local file path. The public path prefix is stripped from the URL, and the unsecaped path suffix is appended to the outputPath. As the URL is not unescaped and normalized automatically before calling the midlleware, it is possible to use %2e and %2f sequences to perform path traversal attack.

Developers using webpack-dev-server or webpack-dev-middleware are affected by the issue. When the project is started, an attacker might access any file on the developer's machine and exfiltrate the content. If the development server is listening on a public IP address (or 0.0.0.0), an attacker on the local network can access the local files without any interaction from the victim (direct connection to the port). If the server allows access from third-party domains, an attacker can send a malicious link to the victim. When visited, the client side script can connect to the local server and exfiltrate the local files. Starting with fixed versions 7.1.0, 6.1.2, and 5.3.4, the URL is unescaped and normalized before any further processing.

Publish Date: 2024-03-21

URL: CVE-2024-29180

CVSS 3 Score Details (7.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-wr3j-pwj9-hqq6

Release Date: 2024-03-21

Fix Resolution: webpack-dev-middleware - 5.3.4,6.1.2,7.1.0

CVE-2023-26159

Vulnerable Library - follow-redirects-1.14.9.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/follow-redirects/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • wait-on-6.0.1.tgz
      • axios-0.25.0.tgz
        • follow-redirects-1.14.9.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.

Publish Date: 2024-01-02

URL: CVE-2023-26159

CVSS 3 Score Details (7.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-26159

Release Date: 2024-01-02

Fix Resolution: follow-redirects - 1.15.4

CVE-2022-46175

Vulnerable Libraries - json5-2.2.0.tgz, json5-2.2.1.tgz

json5-2.2.0.tgz

JSON for humans.

Library home page: https://registry.npmjs.org/json5/-/json5-2.2.0.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/json5/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • file-loader-6.2.0.tgz
      • loader-utils-2.0.2.tgz
        • json5-2.2.0.tgz (Vulnerable Library)

json5-2.2.1.tgz

JSON for humans.

Library home page: https://registry.npmjs.org/json5/-/json5-2.2.1.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/json5/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • core-7.20.2.tgz
      • json5-2.2.1.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for config files). The parse method of the JSON5 library before and including versions 1.0.1 and 2.2.1 does not restrict parsing of keys named __proto__, allowing specially crafted strings to pollute the prototype of the resulting object. This vulnerability pollutes the prototype of the object returned by JSON5.parse and not the global Object prototype, which is the commonly understood definition of Prototype Pollution. However, polluting the prototype of a single object can have significant security impact for an application if the object is later used in trusted operations. This vulnerability could allow an attacker to set arbitrary and unexpected keys on the object returned from JSON5.parse. The actual impact will depend on how applications utilize the returned object and how they filter unwanted keys, but could include denial of service, cross-site scripting, elevation of privilege, and in extreme cases, remote code execution. JSON5.parse should restrict parsing of __proto__ keys when parsing JSON strings to objects. As a point of reference, the JSON.parse method included in JavaScript ignores __proto__ keys. Simply changing JSON5.parse to JSON.parse in the examples above mitigates this vulnerability. This vulnerability is patched in json5 versions 1.0.2, 2.2.2, and later.

Publish Date: 2022-12-24

URL: CVE-2022-46175

CVSS 3 Score Details (7.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: Low
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2022-46175

Release Date: 2022-12-24

Fix Resolution: json5 - 2.2.2

CVE-2024-28849

Vulnerable Library - follow-redirects-1.14.9.tgz

HTTP and HTTPS modules that follow redirects.

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/follow-redirects/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • wait-on-6.0.1.tgz
      • axios-0.25.0.tgz
        • follow-redirects-1.14.9.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

follow-redirects is an open source, drop-in replacement for Node's http and https modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-03-14

URL: CVE-2024-28849

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-cxjh-pqwp-8mfp

Release Date: 2024-03-14

Fix Resolution: follow-redirects - 1.15.6

CVE-2023-45857

Vulnerable Library - axios-0.25.0.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.25.0.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/axios/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • wait-on-6.0.1.tgz
      • axios-0.25.0.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.

Publish Date: 2023-11-08

URL: CVE-2023-45857

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-11-08

Fix Resolution: axios - 1.6.0

CVE-2024-43788

Vulnerable Library - webpack-5.75.0.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.75.0.tgz

Path to dependency file: /website/package.json

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

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-5.75.0.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. The webpack developers have discovered a DOM Clobbering vulnerability in Webpack’s AutoPublicPathRuntimeModule. The DOM Clobbering gadget in the module can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an img tag with an unsanitized name attribute) are present. Real-world exploitation of this gadget has been observed in the Canvas LMS which allows a XSS attack to happen through a javascript code compiled by Webpack (the vulnerable part is from Webpack). DOM Clobbering is a type of code-reuse attack where the attacker first embeds a piece of non-script, seemingly benign HTML markups in the webpage (e.g. through a post or comment) and leverages the gadgets (pieces of js code) living in the existing javascript code to transform it into executable code. This vulnerability can lead to cross-site scripting (XSS) on websites that include Webpack-generated files and allow users to inject certain scriptless HTML tags with improperly sanitized name or id attributes. This issue has been addressed in release version 5.94.0. All users are advised to upgrade. There are no known workarounds for this issue.

Publish Date: 2024-08-27

URL: CVE-2024-43788

CVSS 3 Score Details (6.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-4vvj-4cpr-p986

Release Date: 2024-08-27

Fix Resolution: webpack - 5.94.0

CVE-2024-29041

Vulnerable Library - express-4.18.1.tgz

Fast, unopinionated, minimalist web framework

Library home page: https://registry.npmjs.org/express/-/express-4.18.1.tgz

Path to dependency file: /website/package.json

Path to vulnerable library: /website/node_modules/express/package.json

Dependency Hierarchy:

  • core-2.3.1.tgz (Root Library)
    • webpack-dev-server-4.11.1.tgz
      • express-4.18.1.tgz (Vulnerable Library)

Found in HEAD commit: 862c341e40d353f7aece437973998c97ff72ea9f

Found in base branch: main

Vulnerability Details

Express.js minimalist web framework for node. Versions of Express.js prior to 4.19.0 and all pre-release alpha and beta versions of 5.0 are affected by an open redirect vulnerability using malformed URLs. When a user of Express performs a redirect using a user-provided URL Express performs an encode using encodeurl on the contents before passing it to the location header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented allow list. The main method impacted is res.location() but this is also called from within res.redirect(). The vulnerability is fixed in 4.19.2 and 5.0.0-beta.3.

Publish Date: 2024-03-25

URL: CVE-2024-29041

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-rv95-896h-c2vc

Release Date: 2024-03-25

Fix Resolution: express - 4.19.0

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Feb 9, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 10 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 11 vulnerabilities (highest severity is: 9.8) Mar 13, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 11 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 12 vulnerabilities (highest severity is: 9.8) Apr 13, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 12 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 13 vulnerabilities (highest severity is: 9.8) Apr 25, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 13 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 12 vulnerabilities (highest severity is: 9.8) May 1, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 12 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 13 vulnerabilities (highest severity is: 9.8) Nov 10, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 13 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 15 vulnerabilities (highest severity is: 9.8) Nov 26, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 15 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 16 vulnerabilities (highest severity is: 9.8) Nov 26, 2023
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 16 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 18 vulnerabilities (highest severity is: 9.8) Mar 17, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 18 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 19 vulnerabilities (highest severity is: 9.8) Mar 24, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 19 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 20 vulnerabilities (highest severity is: 9.8) Mar 26, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 20 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 22 vulnerabilities (highest severity is: 9.8) May 14, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 22 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 23 vulnerabilities (highest severity is: 9.8) Jun 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 23 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 24 vulnerabilities (highest severity is: 9.8) Aug 28, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 24 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 25 vulnerabilities (highest severity is: 9.8) Sep 10, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 25 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 28 vulnerabilities (highest severity is: 9.8) Sep 11, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 28 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 29 vulnerabilities (highest severity is: 9.8) Sep 11, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 29 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 30 vulnerabilities (highest severity is: 9.8) Oct 6, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 30 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 31 vulnerabilities (highest severity is: 9.8) Nov 11, 2024
@mend-for-github-com mend-for-github-com bot changed the title core-2.3.1.tgz: 31 vulnerabilities (highest severity is: 9.8) core-2.3.1.tgz: 32 vulnerabilities (highest severity is: 9.8) Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants