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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | nodejs-is-my-json-valid | is-myjson-valid 2.17.2, is-myjson-valid 1.4.1 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1546357Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/npm:is-my-json-valid:20180214Exploit, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1546357Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/npm:is-my-json-valid:20180214Exploit, Third Party Advisory
Timeline
- Published
- Mar 30, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified