{"id":"CVE-2018-1107","aliases":["CLSA-2026-1773015272","CLSA-2026-1773793045","CLSA-2026-1792476292","EUVD-2022-0444","GHSA-4hpf-3wq7-5rpr"],"status":"published","title":"Regular expression deinal of service (ReDoS) in is-my-json-valid","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01204,"percentile":0.68466,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2021-03-30T01:48:27Z","modified":"2026-10-20T07:15:14Z","fixes":[{"ecosystem":"npm","package":"is-my-json-valid","fixed_in":["2.17.2","1.4.1"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"is-my-json-valid","fixed_in":["2.12.4-tuxcare.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"is-my-json-valid","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.17.2"}]}]},{"source":"ghsa","ecosystem":"npm","package":"is-my-json-valid","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"is-my-json-valid","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.12.2-tuxcare.0"},{"fixed":"2.12.2-tuxcare.1"}]}],"versions":["2.12.2"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"is-my-json-valid","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.1-tuxcare.0"},{"fixed":"2.10.1-tuxcare.1"}]}],"versions":["2.10.1"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"is-my-json-valid","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.12.4-tuxcare.0"},{"fixed":"2.12.4-tuxcare.2"}]}],"versions":["2.12.4","2.12.4-tuxcare.1"]},{"source":"osv","ecosystem":"npm","package":"is-my-json-valid","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.17.2"}]}]},{"source":"osv","ecosystem":"npm","package":"is-my-json-valid","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}]}],"products":[{"vendor":"is-my-json-valid_project","product":"is-my-json-valid"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1546357","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/npm:is-my-json-valid:20180214","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1107","tags":["advisory"]},{"url":"https://github.com/mafintosh/is-my-json-valid/pull/159","tags":["web"]},{"url":"https://github.com/mafintosh/is-my-json-valid/commit/b3051b277f7caa08cd2edc6f74f50aeda65d2976","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4hpf-3wq7-5rpr"}],"sources":{"cve":[{"id":"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.","status":"published","published":"2021-03-30T01:48:27Z","modified":"2024-08-05T03:51:48.538Z","cwes":["CWE-400"],"updated_at":"2026-11-02T14:35:08.701206Z"}],"euvd":[{"id":"EUVD-2022-0444","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.","status":"published","published":"2021-03-30T01:48:27Z","modified":"2024-08-05T03:51:48Z","updated_at":"2026-11-03T02:40:16.309405Z"}],"ghsa":[{"id":"GHSA-4hpf-3wq7-5rpr","title":"Regular expression deinal of service (ReDoS) in is-my-json-valid","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.","status":"published","published":"2022-01-06T20:44:07Z","modified":"2023-02-01T05:05:12Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:32.918681Z"}],"nvd":[{"id":"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.","status":"published","published":"2021-03-30T02:15:14.593Z","modified":"2026-06-17T01:50:29.61Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:05:00.565712Z"}],"osv":[{"id":"GHSA-4hpf-3wq7-5rpr","title":"Regular expression deinal of service (ReDoS) in is-my-json-valid","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.","status":"published","published":"2022-01-06T20:44:07Z","modified":"2023-11-08T03:59:45.221407Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:37.148947Z"},{"id":"CLSA-2026-1773015272","title":"TuxCare security update for is-my-json-valid (2 CVEs)","description":"TuxCare rebuilt is-my-json-valid to address 2 CVEs. Fixed in 2.12.2-tuxcare.1.","status":"published","published":"2026-08-04T14:52:11Z","modified":"2026-10-15T09:45:41.651552459Z","updated_at":"2026-11-02T15:43:43.249928Z"},{"id":"CLSA-2026-1773793045","title":"TuxCare security update for is-my-json-valid (2 CVEs)","description":"TuxCare rebuilt is-my-json-valid to address 2 CVEs. Fixed in 2.10.1-tuxcare.1.","status":"published","published":"2026-08-04T14:52:13Z","modified":"2026-10-15T09:47:47.117705616Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1792476292","title":"TuxCare security update for is-my-json-valid (1 CVE)","description":"TuxCare rebuilt is-my-json-valid to address 1 CVE. Fixed in 2.12.4-tuxcare.2.","status":"published","published":"2026-10-20T06:04:52Z","modified":"2026-10-20T07:15:14.478490647Z","updated_at":"2026-11-02T15:43:54.378946Z"}]}}
