{"id":"CVE-2021-3765","published":"2021-11-02T07:05:10Z","modified":"2024-08-03T17:09:08Z","title":"Inefficient Regular Expression Complexity in validatorjs/validator.js","vendor":"validatorjs","product":"validatorjs/validator.js","tier":"tail","description":{"text":"validator.js is vulnerable to Inefficient Regular Expression Complexity","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01792,"percentile":0.7893,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://huntr.dev/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/validatorjs/validator.js/commit/496fc8b2a7f5997acaaec33cc44d0b8dba5fb5e1","tags":["x_refsource_MISC"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":15.79},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"validatorjs","affectedVersions":[{"vendor":"validatorjs","product":"validatorjs/validator.js","versions":[">= unspecified, < 13.7.0"]}],"affected":[{"ecosystem":"npm","package":"validator","vulnerableRanges":["<13.7.0"],"patched":["13.7.0"],"from":["GHSA-qgmg-gppg-76g5"],"provenance":"source"}],"summary":{"text":"The validator.js library (validatorjs/validator.js) contains an inefficient regular expression complexity flaw, which is a weakness in how certain regular expressions are processed. An attacker with network access can send crafted input that the affected validation logic must process, requiring no authentication or user interaction and no special configuration, to degrade availability of the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:44Z"},"euvd":{"id":"EUVD-2021-2382","exploited":false,"provenance":"source"}}