CVE-2021-3765 json
Inefficient Regular Expression Complexity in validatorjs/validator.js
published 2021-11-02 5 y ago modified 2026-06-17 4 mo ago also GHSA-qgmg-gppg-76g5 , EUVD-2021-2382
- cvss
- 5.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
validator.js is vulnerable to Inefficient Regular Expression Complexity
Patch / fix
- npm validator 13.7.0
- validatorjs validatorjs/validator.js 13.7.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3765 updated cvss 7.5
validator: Inefficient Regular Expression Complexity in Validator.js
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-ui-rhel8affected: no fix available “Fix deferred”
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8affected: no fix planned “Will not fix”
-
Red Hat Decision Manager 7 validatoraffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-consoleaffected: no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 ocs4/mcg-core-rhel8affected: no fix available
-
Red Hat Openshift Data Foundation 4 noobaa-core-container, odf4/odf-console-rhel9, odf4/odf-multicluster-console-rhel8affected: no fix available, no fix planned “Will not fix”
-
Red Hat Process Automation 7 validatoraffected: no fix planned “Out of support scope”
-
Red Hat RHODF 4.12 for RHEL 8 odf4/mcg-core-rhel8 v4.12.10-2fixed: vendor fix RHSA-2023:7820
show 2 moreshow fewer
-
Red Hat RHODF 4.13 for RHEL 9 odf4/mcg-core-rhel9 v4.13.0-41fixed: vendor fix RHSA-2023:3742
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8 Red Hat Enterprise Linux 8 pcs, pcs-snmp Red Hat RHODF 4.12 for RHEL 8 odf4/cephcsi-rhel8 v4.12.10-1, odf4/odf-console-rhel8 v4.12.10-1, odf4/mcg-rhel8-operator v4.12.10-1, odf4/ocs-rhel8-operator v4.12.10-1, odf4/odf-rhel8-operator v4.12.10-1, odf4/odr-rhel8-operator v4.12.10-1, +16 more Red Hat RHODF 4.13 for RHEL 9 odf4/cephcsi-rhel9 v4.13.0-35, odf4/mcg-cli-rhel9 v4.13.0-17, odf4/odf-console-rhel9 v4.13.0-85, odf4/mcg-rhel9-operator v4.13.0-41, odf4/ocs-rhel9-operator v4.13.0-67, odf4/odf-rhel9-operator v4.13.0-24, +17 morenot affected: vulnerable code not present
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
1.79% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 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.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | validator | <13.7.0 |
13.7.0 |
Affected products
- validatorjs validatorjs/validator.js
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/validatorjs/validator.js/commit/496fc8b2a7f5997acaaec33cc44d0b8dba5fb5e1
web, patch, third-party-advisory
-
huntr.dev
/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9
web, exploit, issue-tracking, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3765
advisory
-
github.com
/validatorjs/validator.js
package
Sources
- CVE List CVE-2021-3765
- GitHub Advisory GHSA-qgmg-gppg-76g5
- NVD CVE-2021-3765
Fencer Vulns 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.