HighGHSA-446m-mv8f-q348CVE-2017-18214
Regular Expression Denial of Service in moment
Published 5 Mar 2018 · Updated 8 Nov 2023
Affected package
momentnpm
- Affected
- <2.19.3
- Fixed in
- 2.19.3
Update to the fixed version for your release line, for example:
npm install moment@2.19.3Details
Affected versions of moment are vulnerable to a low severity regular expression denial of service when parsing dates as strings.
Recommendation
Update to version 2.19.3 or later.
Is GHSA-446m-mv8f-q348 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected moment, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-18214
- Linkgithub.com/moment/moment/issues/4163
- Linkgithub.com/moment/moment/pull/4326
- Linkgithub.com/moment/moment/commit/69ed9d44957fa6ab12b73d2ae29d286a857b80eb
- Advisorygithub.com/advisories/GHSA-446m-mv8f-q348
- Packagegithub.com/moment/moment
- Linkwww.npmjs.com/advisories/532
- Linkwww.tenable.com/security/tns-2019-02
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.