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 (67.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 67th percentile — 67.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
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)
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.