semver vulnerable to Regular Expression Denial of Service

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.

Repository: OpenNMS/alec (https://github.com/OpenNMS/alec)
Dependabot: https://github.com/OpenNMS/alec/security/dependabot/25
CVE: CVE-2022-25883
CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GHSA: GHSA-c2qf-rxjj-qqgw
Severity: medium
Ecosystem: npm
Package Name: semver
Vulnerable Version Range: >= 6.0.0, < 6.3.1
First Patched Version: 6.3.1

Activity

Details

Assignee

Reporter

Priority

PagerDuty

Created July 19, 2023 at 12:43 PM
Updated July 19, 2023 at 12:43 PM