Resource exhaustion in Is-My-Json-Valid Project
CVE-2018-1107
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.012, 68.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Is-My-Json-Valid Project
- Nodejs-Is-My-Json-Valid — versions is-myjson-valid 2.17.2, is-myjson-valid 1.4.1
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- snyk.io/vuln/npm:is-my-json-valid:20180214 (Exploit, Third Party Advisory)