cve.bz

CVE-2022-25883

7.5 highEPSS 2.8%

High (7.5) in npmjs semver. EPSS 2.8% chance of exploitation in the next 30 days. Fixed in semver 5.7.2, 6.3.1, 7.5.2.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.8% chance of exploitation in the next 30 days; higher than 86% of CVEs (scores of 2026-10-31)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c2qf-rxjj-qqgwnpmsemver>=7.0.0 <7.5.27.5.2
GHSA-c2qf-rxjj-qqgwnpmsemver>=6.0.0 <6.3.16.3.1
GHSA-c2qf-rxjj-qqgwnpmsemver>=2.0.0-alpha <5.7.25.7.2

References

Check your stackJSON