CVE-2022-25883

HIGH7.5EPSS 0.60%

semver vulnerable to Regular Expression Denial of Service

Published: 6/21/2023Modified: 2/4/2026
Also known as:GHSA-c2qf-rxjj-qqgwCGA-hc3v-gjg5-v437DEBIAN-CVE-2022-25883

Description

Versions of the package semver before 7.5.2 on the 7.x branch, before 6.3.1 on the 6.x branch, and all other versions before 5.7.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (17)