{"id":"CVE-2018-1107","aliases":[],"url":"https://o3.security/vulnerability/CVE-2018-1107","summary":"Regular expression deinal of service (ReDoS) in is-my-json-valid","details":"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.","published":"2022-01-06T20:44:07Z","modified":"2023-11-08T03:59:45.221407Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":{"score":0.01204,"percentile":0.6545,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"is-my-json-valid","fixedVersion":"2.17.2"},{"ecosystem":"npm","name":"is-my-json-valid","fixedVersion":"1.4.1"}],"fix":{"url":"https://github.com/mafintosh/is-my-json-valid/pull/159","label":"mafintosh/is-my-json-valid#159"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1107"},{"type":"WEB","url":"https://github.com/mafintosh/is-my-json-valid/pull/159"},{"type":"WEB","url":"https://github.com/mafintosh/is-my-json-valid/commit/b3051b277f7caa08cd2edc6f74f50aeda65d2976"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1546357"},{"type":"WEB","url":"https://snyk.io/vuln/npm:is-my-json-valid:20180214"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T03:59:45.221407Z"}}