AlexRogalskiy / java-patterns

🏆 Java4You Design patterns
https://alexander-rogalsky.gitbook.io/java-patterns/
GNU General Public License v3.0
11 stars 4 forks source link

CVE-2021-3795 (High) detected in semver-regex-1.0.0.tgz #459

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

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

CVE-2021-3795 - High Severity Vulnerability

Vulnerable Library - semver-regex-1.0.0.tgz

Regular expression for matching semver versions

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

Path to dependency file: java-patterns/package.json

Path to vulnerable library: java-patterns/node_modules/semver-regex/package.json

Dependency Hierarchy: - validate-commit-msg-2.14.0.tgz (Root Library) - :x: **semver-regex-1.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 8bad729c83be710b20cd3f2d4defd1f1f0ebb100

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

Origin: https://github.com/sindresorhus/semver-regex/releases/tag/v4.0.1

Release Date: 2021-09-15

Fix Resolution: semver-regex - 3.1.3,4.0.1


Step up your Open Source Security Game with WhiteSource here

github-actions[bot] commented 2 years ago

👋 Thanks for reporting!

github-actions[bot] commented 1 year ago

Greetings! Sorry to say but this is a very old issue that is probably not getting as much attention as it deservers. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to open a new one.