CVE-2020-7754Regular Expression Denial of Service (ReDoS)
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.
What to do
Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:10.23.1-1.module+el8.3.0+9502+012d8a97 | RHSA-2021:0551 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:12.20.1-1.module+el8.3.0+9503+19cb079c | RHSA-2021:0548 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:14.15.4-2.module+el8.3.0+9635+ffdf8381 | RHSA-2021:0548 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:14.15.4-2.module+el8.3.0+9635+ffdf8381 | RHSA-2021:0549 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:1.18.3-1.module+el8+2632+6c5111ed | RHSA-2021:0551 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2021:0551 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:6.14.10-1.14.15.4.2.module+el8.3.0+9635+ffdf8381 | RHSA-2021:0549 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:0548 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2021:0551 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:2.0.3-1.module+el8.3.0+100+234774f7 | RLSA-2021:0551 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0551 |
| npm library | npm-user-validate | Fixed | 1.0.1 | GHSA-pw54-mh39-w3hc |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- npm-user-validate: affected: unspecified to before 1.0.1; fixed in
1.0.1
References
- https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353
- https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p
- https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.