snowflakedb / SnowAlert

Security Analytics Using The Snowflake Data Warehouse
Apache License 2.0
181 stars 57 forks source link

CVE-2021-3795 (High) detected in semver-regex-3.1.2.tgz #619

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

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

CVE-2021-3795 - High Severity Vulnerability

Vulnerable Library - semver-regex-3.1.2.tgz

Regular expression for matching semver versions

Library home page: https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.2.tgz

Path to dependency file: /src/webui/frontend/package.json

Path to vulnerable library: /src/webui/frontend/node_modules/semver-regex/package.json

Dependency Hierarchy: - husky-4.3.8.tgz (Root Library) - find-versions-4.0.0.tgz - :x: **semver-regex-3.1.2.tgz** (Vulnerable Library)

Found in HEAD commit: 8df0c9edde054463776fa58e88036ee2a783a41f

Found in base branch: master

Vulnerability Details

semver-regex is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-15

URL: CVE-2021-3795

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-09-15

Fix Resolution (semver-regex): 3.1.3

Direct dependency fix Resolution (husky): 5.0.0


:rescue_worker_helmet: Automatic Remediation is available for this issue