HIGH 7.5 npm

semver vulnerable to Regular Expression Denial of Service

GHSA-c2qf-rxjj-qqgw · CVE-2022-25883

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes