ADVISORIES

GitHub Advisory Database

GHSA-4hpf-3wq7-5rpr

Regular expression deinal of service (ReDoS) in is-my-json-valid

Moderate CVE-2018-1107

Details

It was discovered that the is-my-json-valid JavaScript library used an inefficient regular expression to validate JSON fields defined to have email format. A specially crafted JSON file could cause it to consume an excessive amount of CPU time when validated.

Affected packages

EcosystemPackageAffected versions
npmis-my-json-valid
From 2.0.0 before 2.17.2 (fixed in 2.17.2)
npmis-my-json-valid
All versions before 1.4.1 (fixed in 1.4.1)

References