Vulnerability · Published Jan 13, 2021 · Assigned by GitHub_M

CVE-2021-21252Regular expression denial of service in jquery-validation

Medium 5.3

In plain English

A medium-severity uncontrolled resource consumption in jquery-validation from jquery-validation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.6% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)3.6%top 10.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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 are vulnerable to ReDoS (Regular Expression Denial of Service). This is fixed in 1.19.3.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12phpmyadmin4:5.0.4+dfsg2-2DEBIAN-CVE-2021-21252
Debian:13phpmyadmin4:5.0.4+dfsg2-2DEBIAN-CVE-2021-21252
Debian:14phpmyadmin4:5.0.4+dfsg2-2DEBIAN-CVE-2021-21252
NuGetjquery.validation1.19.3GHSA-jxwx-85vp-gvwm
Ubuntu:22.04:LTSotrs2no fix listedUBUNTU-CVE-2021-21252
npmjquery-validation1.19.3GHSA-jxwx-85vp-gvwm

Affected products (as reported)

VendorProductVersions
jquery-validation jquery-validation < 1.19.3

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References