Vulnerability Details : CVE-2021-3765
validator.js is vulnerable to Inefficient Regular Expression Complexity
Products affected by CVE-2021-3765
- cpe:2.3:a:validator_project:validator:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3765
0.12%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 46 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3765
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 | |
5.3
|
MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
3.9
|
1.4
|
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-3765
-
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-3765
-
https://github.com/validatorjs/validator.js/commit/496fc8b2a7f5997acaaec33cc44d0b8dba5fb5e1
fix(rtrim): remove regex to prevent ReDOS attack (#1738) · validatorjs/validator.js@496fc8b · GitHubPatch;Third Party Advisory
-
https://huntr.dev/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9
huntr: Inefficient Regular Expression Complexity JavaScript Vulnerability in validator.jsExploit;Issue Tracking;Patch;Third Party Advisory
Jump to