Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. jQuery.Validation
  4. ›
  5. CVE-2021-21252

CVE-2021-21252: Uncontrolled Resource Consumption

January 13, 2021 (updated March 2, 2023)

The jQuery Validation Plugin provides drop-in validation for your existing forms. It is published as an npm package “jquery-validation”. jquery-validation before version 1.19.3 contains one or more regular expressions that is vulnerable to ReDoS (Regular Expression Denial of Service). This is fixed in 1.19.3.

References

  • github.com/advisories/GHSA-jxwx-85vp-gvwm
  • github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d
  • github.com/jquery-validation/jquery-validation/pull/2371
  • github.com/jquery-validation/jquery-validation/security/advisories/GHSA-jxwx-85vp-gvwm
  • jqueryvalidation.org/
  • nvd.nist.gov/vuln/detail/CVE-2021-21252
  • security.netapp.com/advisory/ntap-20210219-0005/
  • securitylab.github.com/advisories/GHSL-2020-294-redos-jquery-validation/
  • www.npmjs.com/package/jquery-validation
  • www.nuget.org/packages/jquery.validation

Code Behaviors & Features

Detect and mitigate CVE-2021-21252 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.19.3

Fixed versions

  • 1.19.3

Solution

Upgrade to version 1.19.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

nuget/jQuery.Validation/CVE-2021-21252.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.