Vulnerability Details : CVE-2021-3795
semver-regex is vulnerable to Inefficient Regular Expression Complexity
Products affected by CVE-2021-3795
- cpe:2.3:a:semver-regex_project:semver-regex:*:*:*:*:*:*:*:*
- cpe:2.3:a:semver-regex_project:semver-regex:4.0.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3795
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3795
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
huntr.dev | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-3795
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by:
- nvd@nist.gov (Primary)
- security@huntr.dev (Secondary)
References for CVE-2021-3795
-
https://github.com/sindresorhus/semver-regex/commit/11c66245f4e1976dccc52977ed183696a21a3fd7
Fix ReDoS vulnerability · sindresorhus/semver-regex@11c6624 · GitHubPatch;Third Party Advisory
-
https://huntr.dev/bounties/006624e3-35ac-448f-aab9-7b5183f30e28
huntr: Inefficient Regular Expression Complexity JavaScript Vulnerability in semver-regexExploit;Patch;Third Party Advisory
Jump to