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)
EPSS: 0.012 (65.1th percentile) — read the EPSS interpretation.
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.
Affected products
- Is-my-json-valid_project Is-my-json-valid
- N/a Nodejs-is-my-json-valid — versions is-myjson-valid 2.17.2, is-myjson-valid 1.4.1
Weakness classification (CWE)
References
- secalert@redhat.com (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- secalert@redhat.com (Exploit, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2018-1107?
- CVE-2018-1107 is a medium-severity vulnerability in Is-My-Json-Valid Project, classified under Uncontrolled Resource Consumption. CVSS score: 5.3/10. Published 2021-03-30.
- How severe is CVE-2018-1107?
- Medium severity. CVSS v3 base score is 5.3 out of 10.