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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
Vulnerable Library - log4js-0.6.38.tgz
Port of Log4js to work with node.
Library home page: https://registry.npmjs.org/log4js/-/log4js-0.6.38.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/log4js/package.json
Found in HEAD commit: f348ef249e2ed74eb2b84359847f42f2a8f66ae0
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2022-25883
### Vulnerable Library - semver-4.3.6.tgzThe 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: - log4js-0.6.38.tgz (Root Library) - :x: **semver-4.3.6.tgz** (Vulnerable Library)
Found in HEAD commit: f348ef249e2ed74eb2b84359847f42f2a8f66ae0
Found in base branch: master
### Vulnerability DetailsVersions 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.
Publish Date: 2023-06-21
URL: CVE-2022-25883
### 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 FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
Release Date: 2024-08-08
Fix Resolution (semver): 5.7.2
Direct dependency fix Resolution (log4js): 3.0.0
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.