-
Notifications
You must be signed in to change notification settings - Fork 0
Description
CVE-2022-25883 - Medium Severity Vulnerability
Vulnerable Libraries - semver-5.7.1.tgz, semver-4.3.6.tgz
semver-5.7.1.tgz
The semantic version parser used by npm.
Library home page: https://registry.npmjs.org/semver/-/semver-5.7.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/editorconfig/node_modules/semver/package.json
Dependency Hierarchy:
- standard-4.5.4.tgz (Root Library)
- standard-format-1.6.10.tgz
- esformatter-jsx-2.3.11.tgz
- js-beautify-1.14.0.tgz
- editorconfig-0.15.3.tgz
- ❌ semver-5.7.1.tgz (Vulnerable Library)
- editorconfig-0.15.3.tgz
- js-beautify-1.14.0.tgz
- esformatter-jsx-2.3.11.tgz
- standard-format-1.6.10.tgz
semver-4.3.6.tgz
The semantic version parser used by npm.
Library home page: https://registry.npmjs.org/semver/-/semver-4.3.6.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/semver/package.json
Dependency Hierarchy:
- standard-4.5.4.tgz (Root Library)
- standard-format-1.6.10.tgz
- esformatter-0.8.2.tgz
- rocambole-linebreak-1.0.2.tgz
- ❌ semver-4.3.6.tgz (Vulnerable Library)
- rocambole-linebreak-1.0.2.tgz
- esformatter-0.8.2.tgz
- standard-format-1.6.10.tgz
Found in base branch: main
Vulnerability Details
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
Mend Note: The description of this vulnerability differs from MITRE.
Publish Date: 2023-06-21
URL: CVE-2022-25883
CVSS 3 Score Details (5.3)
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: Low
Suggested Fix
Type: Upgrade version
Origin: GHSA-c2qf-rxjj-qqgw
Release Date: 2023-06-21
Fix Resolution (semver): 5.7.2
Direct dependency fix Resolution (standard): 6.0.0
Fix Resolution (semver): 5.7.2
Direct dependency fix Resolution (standard): 6.0.0
- Check this box to open an automated fix PR