7.6.3
13 years ago
5 months ago
Known vulnerabilities in the semver package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for freeVulnerability | Vulnerable Version |
---|---|
semver is a semantic version parser used by npm. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the function How to fix Regular Expression Denial of Service (ReDoS)? Upgrade | <5.7.2>=6.0.0 <6.3.1>=7.0.0 <7.5.2 |
semver is a semantic version parser used by npm. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The semver module uses regular expressions when parsing a version string. For a carefully crafted input, the time it takes to process these regular expressions is not linear to the length of the input. Since the semver module did not enforce a limit on the version string length, an attacker could provide a long string that would take up a large amount of resources, potentially taking a server down. This issue therefore enables a potential Denial of Service attack. How to fix Regular Expression Denial of Service (ReDoS)? Upgrade | <4.3.2 |