Back
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…
Medium5.3EPSS 1.2%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 1.2% · top 32% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
nodejs-is-my-json-valid
- affected is-myjson-valid 2.17.2, is-myjson-valid 1.4.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmis-my-json-validGHSA-4hpf-3wq7-5rpr (opens in a new tab)
References (2)
- https://bugzilla.redhat.com/show_bug.cgi?id=1546357 (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/npm:is-my-json-valid:20180214 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4hpf-3wq7-5rpr (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-1107)Record last updated .