CVE-2020-26308
JSON

8.7high

GHSL-2020-302: Regular Expression Denial of Service (ReDoS) in validate.js

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rv73-9c8w-jp4c

Description

Validate.js provides a declarative way of validating javascript objects. Versions 0.13.1 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no known patches are available.

Affected

Product or packageVersionsReported by
ansman validate.jsup to 0.13.1CVE List
validate.js (npm)up to 0.13.1GitHub Advisory Database
validatejs validate.jsup to 0.13.1NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Green
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1333

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

Validate.js provides a declarative way of validating javascript objects. Versions 0.13.1 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no known patches are available.

NVD (es)

Validate.js proporciona una forma declarativa de validar objetos de JavaScript. Las versiones 0.13.1 y anteriores contienen una o más expresiones regulares que son vulnerables a la denegación de servicio por expresión regular (ReDoS). Al momento de la publicación, no se conocían parches disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26308 changed 2024-10-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-rv73-9c8w-jp4c changed 2024-10-28CC-BY-4.0
NVDCVE-2020-26308 changed 2026-06-17Public domain