GitHub Advisoryadvisory · npm
GHSA-446m-mv8f-q348 Regular Expression Denial of Service in moment
HIGH
Official page ↗
- Aliases
- CVE-2017-18214
- Ecosystem
- npm
- Packages
- moment
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2020-06-16
Affected packages
• npm moment: < 2.19.3 → fixed in 2.19.3
Description
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.
Related
Alias · CVE (1)
- CVE-2017-18214 The moment module before 2.19.3 for Node.js is prone to a regular expression denial of service via a crafted date string, a different… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18214 advisory
- https://github.com/moment/moment/issues/4163 web
- https://github.com/moment/moment/pull/4326 web
- https://github.com/moment/moment/commit/69ed9d44957fa6ab12b73d2ae29d286a857b80eb web
- https://github.com/advisories/GHSA-446m-mv8f-q348 advisory
- https://github.com/moment/moment package
- https://www.npmjs.com/advisories/532 web
- https://www.tenable.com/security/tns-2019-02 web