{"id":"GHSA-446m-mv8f-q348","summary":"Regular Expression Denial of Service in moment","details":"Affected versions of `moment` are vulnerable to a low severity regular expression denial of service when parsing dates as strings.\n\n\n## Recommendation\n\nUpdate to version 2.19.3 or later.","aliases":["CVE-2017-18214"],"modified":"2026-03-11T07:49:10.254697Z","published":"2018-03-05T18:35:09Z","database_specific":{"nvd_published_at":"2018-03-04T21:29:00Z","cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T20:57:13Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18214"},{"type":"WEB","url":"https://github.com/moment/moment/issues/4163"},{"type":"WEB","url":"https://github.com/moment/moment/pull/4326"},{"type":"WEB","url":"https://github.com/moment/moment/commit/69ed9d44957fa6ab12b73d2ae29d286a857b80eb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-446m-mv8f-q348"},{"type":"PACKAGE","url":"https://github.com/moment/moment"},{"type":"WEB","url":"https://www.npmjs.com/advisories/532"},{"type":"WEB","url":"https://www.tenable.com/security/tns-2019-02"}],"affected":[{"package":{"name":"moment","ecosystem":"npm","purl":"pkg:npm/moment"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.19.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/03/GHSA-446m-mv8f-q348/GHSA-446m-mv8f-q348.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:H"}]}