HighGHSA-446m-mv8f-q348CVE-2017-18214

Regular Expression Denial of Service in moment

Published 5 Mar 2018 · Updated 8 Nov 2023

Affected package

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.3

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.