faizulho / sanity-jigsaw-blog

Sanity.io starter template with Jigsaw
0 stars 0 forks source link

CVE-2021-29059 (High) detected in is-svg-3.0.0.tgz #347

Open mend-bolt-for-github[bot] opened 8 months ago

mend-bolt-for-github[bot] commented 8 months ago

CVE-2021-29059 - High Severity Vulnerability

Vulnerable Library - is-svg-3.0.0.tgz

Check if a string or buffer is SVG

Library home page: https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz

Path to dependency file: /web/package.json

Path to vulnerable library: /web/node_modules/is-svg/package.json,/studio/node_modules/is-svg/package.json

Dependency Hierarchy: - core-1.150.7.tgz (Root Library) - server-1.150.1.tgz - css-loader-0.28.12.tgz - cssnano-4.1.10.tgz - cssnano-preset-default-4.0.7.tgz - postcss-svgo-4.0.2.tgz - :x: **is-svg-3.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 3182c6ae26644fb8cb51607fa8ee35d62c0c59d7

Found in base branch: main

Vulnerability Details

A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.

Publish Date: 2021-06-21

URL: CVE-2021-29059

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: 2021-06-21

Fix Resolution (is-svg): 4.3.0

Direct dependency fix Resolution (@sanity/core): 1.150.8-review-changes.375


Step up your Open Source Security Game with Mend here