PT-2023-4569
CVE-2022-25883
·
Published
2023-06-21
·
Updated
2026-10-06
Description by
CVSS 2.0
7.8
HighMetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions
semver versions prior to 7.5.2
semver versions prior to 6.3.1 on the 6.x branch
semver versions prior to 5.7.2
Description
The issue is related to the use of a regular expression with inefficient computational complexity in the semver package, which can lead to a Regular Expression Denial of Service (ReDoS) via the
new Range function when untrusted user data is provided as a range. This can allow a remote attacker to cause a denial of service.Recommendations
For semver versions prior to 7.5.2, update to version 7.5.2 or later.
For semver versions prior to 6.3.1 on the 6.x branch, update to version 6.3.1 or later.
For semver versions prior to 5.7.2, update to version 5.7.2 or later.
As a temporary workaround, consider restricting the use of the
new Range function to trusted input only until a patch is available.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾