Moderate severityNVD Advisory· Published Mar 30, 2021· Updated Aug 5, 2024
CVE-2018-1107
CVE-2018-1107
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
is-my-json-validnpm | >= 2.0.0, < 2.17.2 | 2.17.2 |
is-my-json-validnpm | < 1.4.1 | 1.4.1 |
Affected products
2- JavaScript/is-my-json-validdescription
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-4hpf-3wq7-5rprghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-1107ghsaADVISORY
- bugzilla.redhat.com/show_bug.cgighsax_refsource_MISCWEB
- github.com/mafintosh/is-my-json-valid/commit/b3051b277f7caa08cd2edc6f74f50aeda65d2976ghsaWEB
- github.com/mafintosh/is-my-json-valid/pull/159ghsaWEB
- snyk.io/vuln/npm:is-my-json-valid:20180214ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.