Skip to content

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

HighCVSS 8.7 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
ansman validate.js <= 0.13.1 after 0.13.1 Fixed
npm validate.js(npm) <= 0.13.1 after 0.13.1 Fixed
validatejs validate.js <= 0.13.1 after 0.13.1 Fixed

Affected products

ProductAffected versionsFixed in
npm validate.js(npm) <= 0.13.1 No fix listed
ansman validate.js <= 0.13.1 No fix listed
validatejs validate.js <= 0.13.1 No fix listed

References