{"id":"CVE-2020-7754","published":"2020-10-27T15:05:18Z","modified":"2024-09-17T04:28:53Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package npm-user-validate before 1.0.1. The regex that validates user emails took exponentially longer to process long input strings beginning with @ characters.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03255,"percentile":0.88656,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353","tags":["x_refsource_MISC"]},{"url":"https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p","tags":["x_refsource_MISC"]},{"url":"https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e","tags":["x_refsource_MISC"]}],"priority":{"score":23.0,"factors":[{"name":"EPSS percentile","points":17.73},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"npm-user-validate","versions":[">= unspecified, < 1.0.1"]}],"affected":[{"ecosystem":"npm","package":"npm-user-validate","vulnerableRanges":["<1.0.1"],"patched":["1.0.1"],"from":["GHSA-pw54-mh39-w3hc"],"provenance":"source"}],"summary":{"text":"The npm package npm-user-validate, before version 1.0.1, contains a regular expression used to validate user email addresses that takes exponentially longer to process long input strings beginning with @ characters. An attacker with network access can send such crafted input to any application using the package to exhaust resources and cause a denial of service, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:30Z"},"euvd":{"id":"EUVD-2021-1154","exploited":false,"provenance":"source"}}