All CVEs / Is-my-json-valid Project
CVE-2018-1107Is-my-json-valid Project Is-my-json-valid
Medium 5.3 No auth needed
Follow: this CVE · Is-my-json-valid Project · Is-my-json-valid Project Is-my-json-valid We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Mar 30, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Is-my-json-valid.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | is-my-json-valid |
≥ 2.0.0 < 2.17.2 |
2.17.2 |
npm install is-my-json-valid@2.17.2 |
| npm | is-my-json-valid |
< 1.4.1 |
1.4.1 |
npm install is-my-json-valid@1.4.1 |
Per OSV / GitHub Advisories (GHSA-4hpf-3wq7-5rpr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| is-my-json-valid_project | is-my-json-valid | < 1.4.1 |
| is-my-json-valid_project | is-my-json-valid | ≥ 2.0.0 < 2.17.2 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- snyk.io Exploit Third Party Advisory