{"id":"GHSA-4hpf-3wq7-5rpr","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.","aliases":["CVE-2018-1107"],"modified":"2023-11-08T03:59:45.221407Z","published":"2022-01-06T20:44:07Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-03-31T21:45:17Z","nvd_published_at":"2021-03-30T02:15:00Z","cwe_ids":["CWE-400"],"severity":"MODERATE"},"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"}],"affected":[{"package":{"name":"is-my-json-valid","ecosystem":"npm","purl":"pkg:npm/is-my-json-valid"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.17.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-4hpf-3wq7-5rpr/GHSA-4hpf-3wq7-5rpr.json"}},{"package":{"name":"is-my-json-valid","ecosystem":"npm","purl":"pkg:npm/is-my-json-valid"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-4hpf-3wq7-5rpr/GHSA-4hpf-3wq7-5rpr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}