CVE-2018-1107: It was discovered that the is-my-json-valid JavaScript library used an inefficient regular expression to valid
CVE-2018-1107 is a medium-severity flaw (CVSS 5.3) affecting is-my-json-valid. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 32%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| Published | 2021-03-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-1107?
is-my-json-valid: upgrade to 1.4.1, 2.17.2. Exact commands for each OS are on this page.
Is CVE-2018-1107 being exploited?
CVE-2018-1107 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-1107 affect?
CVE-2018-1107 affects is-my-json-valid. Severity is medium (CVSS 5.3). 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 t
How urgent is CVE-2018-1107?
Priority 46/100. Public exploit reference; Remotely exploitable, no login, no user action