CVE-2020-7754 json
Regular Expression Denial of Service (ReDoS)
published 6y ago modified 4mo ago also GHSA-pw54-mh39-w3hc , GHSA-xgh6-85xh-479p , EUVD-2021-1154
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm npm-user-validate 1.0.1
- n/a npm-user-validate 1.0.1
- rh-nodejs12-nodejs RHEL 3 SOFTWARE_COLLECTIONS 12.20.1-1.el7
- rh-nodejs12-npm RHEL 3 SOFTWARE_COLLECTIONS 6.14.10-12.20.1.1.el7
- rh-nodejs12-nodejs-nodemon RHEL 3 SOFTWARE_COLLECTIONS 2.0.3-1.el7
- npm RHEL 8 1:6.14.10-1.14.15.4.2.module+el8.3.0+9635+ffdf8381
- nodejs RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381
- nodejs-nodemon RHEL 8 2.0.3-1.module+el8.3.0+6519+9f98ed83
- nodejs-full-i18n RHEL 8 1:14.15.4-2.module+el8.3.0+9635+ffdf8381
- nodejs-packaging RHEL 8 23-3.module+el8.3.0+6519+9f98ed83
red hat advisories RHSA-2021:0485RHSA-2021:0551RHSA-2021:0549RHSA-2021:0421RHSA-2021:0548RHSA-2021:0521
- nodejs-nodemon AlmaLinux 8 2.0.3-1.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 23-3.module_el8.5.0+254+b4526b16
- nodejs-packaging AlmaLinux 8 23-3.module_el8.4.0+2522+3bd42762
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2224+b07ac28e
- nodejs-packaging AlmaLinux 8 17-3.module_el8.4.0+2521+c668cc9f
- nodejs-packaging AlmaLinux 8 17-3.module_el8.3.0+2023+d2377ea3
- nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2023+d2377ea3
- nodejs-nodemon AlmaLinux 8 1.18.3-1.module_el8.3.0+2047+b07ac28e
almalinux advisories ALSA-2021:0551ALSA-2021:0549ALSA-2021:0548
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.6.0+982+9fdca2d4
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.3.0+100+234774f7
- nodejs-nodemon Rocky Linux 8 2.0.3-1.module+el8.4.0+638+5344c6f7
- nodejs-packaging Rocky Linux 8 23-3.module+el8.7.0+1071+4bdda2a8
- nodejs-packaging Rocky Linux 8 23-3.module+el8.3.0+100+234774f7
- nodejs-packaging Rocky Linux 8 23-3.module+el8.5.0+733+de4fee6c
- nodejs-packaging Rocky Linux 8 17-3.module+el8.3.0+101+f84c7154
- nodejs-nodemon Rocky Linux 8 1.18.3-1.module+el8.3.0+101+f84c7154
rocky linux advisories RLSA-2021:0551RLSA-2021:0549RLSA-2021:0548
Is CVE-2020-7754 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7754 updated cvss 7.5
nodejs-npm-user-validate: improper input validation when validating user emails leads to ReDoS
-
Red Hat OpenShift Container Platform 3.11 kibanaaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 4 kibanaaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 10.23.1-1.module+el8.3.0+9502+012d8a97, nodejs 12.20.1-1.module+el8.3.0+9503+19cb079c, nodejs 14.15.4-2.module+el8.3.0+9635+ffdf8381, nodejs-packaging 17-3.module+el8+2873+aa7dfd9a, nodejs-nodemon 1.18.3-1.module+el8+2632+6c5111ed, nodejs-packaging 17-3.module+el8.1.0+3369+37ae6a45, +9 morefixed: vendor fix RHSA-2021:0548
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs10-nodejs 10.23.1-2.el7, rh-nodejs12-nodejs 12.20.1-1.el7, rh-nodejs14-nodejs 14.15.4-2.el7, rh-nodejs10-npm 6.14.10-10.23.1.2.el7, rh-nodejs12-npm 6.14.10-12.20.1.1.el7, rh-nodejs14-npm 6.14.10-14.15.4.2.el7, +1 morefixed: vendor fix RHSA-2021:0521
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.26% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | npm-user-validate | <1.0.1 |
1.0.1 |
Affected products
- n/a npm-user-validate
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-NPMUSERVALIDATE-1019352
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353
web, exploit, third-party-advisory
-
github.com
/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7754
advisory
Sources
- CVE List CVE-2020-7754
- GitHub Advisory GHSA-pw54-mh39-w3hc
- GitHub Advisory GHSA-xgh6-85xh-479p
- NVD CVE-2020-7754
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.