CVEvulnerability
CVE-2018-1107
5.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-03-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-400
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.
Affected configurations
• 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)
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1546357 Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/npm:is-my-json-valid:20180214 Exploit, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1546357 Issue Tracking, Patch, Third Party Advisory
- https://snyk.io/vuln/npm:is-my-json-valid:20180214 Exploit, Third Party Advisory