GHSA-4hpf-3wq7-5rprMediumCVSS 5.3

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

Published
January 6, 2022
Last Modified
February 1, 2023

🔗 CVE IDs covered (1)

📋 Description

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 products2

  • npm/is-my-json-valid:>= 2.0.0, < 2.17.2
  • npm/is-my-json-valid:< 1.4.1

🔗 References (6)