CVE-2017-18214Momentjs Moment
High 7.5 No auth needed
Follow: this CVE · Momentjs · Momentjs Moment We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.6% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Mar 4, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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 than CVE-2016-4055.
What to do
- Apply the vendor's security update for Moment.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | moment |
< 2.19.3 |
2.19.3 |
npm install moment@2.19.3 |
Per OSV / GitHub Advisories (GHSA-446m-mv8f-q348). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| momentjs | moment | ≤ 2.19.2 |
| tenable | nessus | ≤ 8.2.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Third Party Advisory
- nodesecurity.io Not Applicable URL Repurposed
- www.tenable.com Patch Third Party Advisory