CVE-2021-3765: Inefficient Regular Expression Complexity in validatorjs/validator.js

Published Nov 2, 2021
·
Updated

validator.js is vulnerable to Inefficient Regular Expression Complexity

Other sources

validator.js prior to 13.7.0 is vulnerable to Inefficient Regular Expression Complexity

Affected Software

3 affected componentsFixes available
Validator Project Validator Node.js<13.7.0
npm/validator<13.7.0
13.7.0
redhat/validator<13.7.0
13.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/validator to a version that resolves this vulnerability.

    Fixed in 13.7.0
  2. Upgrade

    Upgrade redhat/validator to a version that resolves this vulnerability.

    Fixed in 13.7.0

Event History

Nov 2, 2021
CVE Published
via MITRE·07:05 AM
Data Sourced
via MITRE·07:05 AM
DescriptionSeverityWeakness
Nov 3, 2021
Advisory Published
05:34 PM
Sep 13, 2022
Data Sourced
via Red Hat·06:49 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-3765?

CVE-2021-3765 is rated as a moderate severity vulnerability due to its potential for denial of service caused by inefficient regular expression complexity.

2

How do I fix CVE-2021-3765?

To fix CVE-2021-3765, you should update validator.js to version 13.7.0 or later.

3

What impact does CVE-2021-3765 have on applications?

CVE-2021-3765 can lead to application performance issues or denial of service due to excessive resource consumption.

4

Which versions of validator.js are affected by CVE-2021-3765?

CVE-2021-3765 affects all versions of validator.js prior to version 13.7.0.

5

Who is responsible for the CVE-2021-3765 vulnerability?

The CVE-2021-3765 vulnerability has been reported by the Validator Project, which maintains the validator.js library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203