AlexRogalskiy / github-action-quotes

📜 GitHub action to generate styled quotes
https://github.com/marketplace/actions/styled-quotes
GNU General Public License v3.0
2 stars 1 forks source link

CVE-2021-3795 (High) detected in semver-regex-3.1.2.tgz, semver-regex-2.0.0.tgz #646

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

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

CVE-2021-3795 - High Severity Vulnerability

Vulnerable Libraries - semver-regex-3.1.2.tgz, semver-regex-2.0.0.tgz

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: /package.json

Path to vulnerable library: /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)

semver-regex-2.0.0.tgz

Regular expression for matching semver versions

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy: - semantic-release-15.14.0.tgz (Root Library) - find-versions-3.2.0.tgz - :x: **semver-regex-2.0.0.tgz** (Vulnerable Library)

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

Fix Resolution (semver-regex): 3.1.3

Direct dependency fix Resolution (semantic-release): 17.3.1


Step up your Open Source Security Game with Mend here

github-actions[bot] commented 4 months ago

👋 Thanks for reporting!