SecurityContext

CVE-2021-3765: validator.js - Denial of Service

  • Cve: CVE-2021-3765
  • Name: validator.js - Denial of Service
  • Description: validator.js is vulnerable to Inefficient Regular Expression Complexity
  • Impact: Attackers can cause denial of service by triggering excessive regex processing, leading to application slowdown or crash.
  • Remediation: Update to the latest version of validator.js that addresses the regex vulnerability or apply patches to optimize regex patterns.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01792
  • Epss percentile: 0.78962
  • Assignee: [email protected]
  • Published at: 2021-11-02T07:15:07Z
  • Age in days: 1848
  • Modified at: 2026-06-17T04:05:43Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3765
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-1333Inefficient Regular Expression Complexity

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9nvd2021-11-02

References

UrlSourceTags
https://github.com/validatorjs/validator.js/commit/496fc8b2a7f5997acaaec33cc44d0b8dba5fb5e1nvdPatch, Third Party Advisory
https://huntr.dev/bounties/c37e975c-21a3-4c5f-9b57-04d63b28cfc9nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
validator_project:validator< 13.7.0nonvd/v1/products/validator_project/validator

Projects

RepositoryLink kindsIndexedUrl
validatorjs/validator.jscommit, fix, packageyes/v1/repositories/validatorjs/validator.js

Index

  • Repositories: 77
  • Repositories high signal: 31
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-11-02
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts