high7.5
CVE-2020-7754
Regular expression denial of service in npm-user-validate
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | npm-user-validate | < 1.0.1 | 1.0.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Npmjs | Npm-User-Validate | before 1.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e
- https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353
- https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352
- https://github.com/advisories/GHSA-pw54-mh39-w3hc
- https://nvd.nist.gov/vuln/detail/CVE-2020-7754