turkdevops / gitea

Git with a cup of tea, painless self-hosted git service
https://gitea.io
MIT License
0 stars 0 forks source link

WS-2022-0322 (High) detected in d3-color-1.4.1.tgz, d3-color-3.0.1.tgz #112

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

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

WS-2022-0322 - High Severity Vulnerability

Vulnerable Libraries - d3-color-1.4.1.tgz, d3-color-3.0.1.tgz

d3-color-1.4.1.tgz

Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).

Library home page: https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/d3-color/package.json,/node_modules/dagre-d3/node_modules/d3-color/package.json

Dependency Hierarchy: - mermaid-8.13.3.tgz (Root Library) - dagre-d3-0.6.4.tgz - d3-5.16.0.tgz - :x: **d3-color-1.4.1.tgz** (Vulnerable Library)

d3-color-3.0.1.tgz

Color spaces! RGB, HSL, Cubehelix, Lab and HCL (Lch).

Library home page: https://registry.npmjs.org/d3-color/-/d3-color-3.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/d3-color/package.json

Dependency Hierarchy: - mermaid-8.13.3.tgz (Root Library) - d3-7.1.1.tgz - :x: **d3-color-3.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: 5a07ad71010693de12293f5ff1fadc890259b5e0

Found in base branch: main

Vulnerability Details

The d3-color module provides representations for various color spaces in the browser. Versions prior to 3.1.0 are vulnerable to a Regular expression Denial of Service. This issue has been patched in version 3.1.0. There are no known workarounds.

Publish Date: 2022-09-29

URL: WS-2022-0322

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://github.com/advisories/GHSA-36jr-mh4h-2g58

Release Date: 2022-09-29

Fix Resolution (d3-color): 3.1.0

Direct dependency fix Resolution (mermaid): 8.13.4

Fix Resolution (d3-color): 3.1.0

Direct dependency fix Resolution (mermaid): 8.13.4


Step up your Open Source Security Game with Mend here