CVE-2022-25883

Aliases:GHSA-c2qf-rxjj-qqgw
Analyzed
Published: 21 Jun 2023, 05:00
Last modified:06 Dec 2024, 16:55

Vulnerability Summary

Overall Risk (default)
medium
40/100
CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.6% LOW
1% probability +0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

21 Jun 2023, 05:00
Published
Vulnerability first disclosed
06 Dec 2024, 16:55
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.60% Percentile: 70%

Techniques & Countermeasures

  • CWE-1333Inefficient Regular Expression Complexity

    The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Affected Systems

  • Npmsemver

    < 5.7.2 | ≥ 7.0.0, < 7.5.2 | ≥ 6.0.0, < 6.3.1 | ≥ 2.0.0-alpha, < 5.7.2

  • npmjssemver

    < 5.7.2 | ≥ 6.0.0, < 6.3.1 | ≥ 7.0.0, < 7.5.3

References (17)