CVE-2017-18214 json
Regular Expression Denial of Service in moment
published 8y ago modified 4mo ago also GHSA-446m-mv8f-q348 , EUVD-2018-0169
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm moment 2.19.3
- node-moment Debian 14, Debian 13, Debian 12 2.19.3+ds-1
debian advisories DEBIAN-CVE-2017-18214
- node-moment Ubuntu Pro 16.04 LTS 2.11.0+ds-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2017-18214
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- eap7-wildfly jboss enterprise application platform 7.4 7.4.9-4.GA_redhat_00003.1.el8eap
- eap7-jettison jboss enterprise application platform 7.4 1.5.2-1.redhat_00002.1.el8eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.22-1.SP3_redhat_00001.1.el8eap
- eap7-apache-sshd jboss enterprise application platform 7.4 2.9.2-1.redhat_00001.1.el8eap
- eap7-elytron-web jboss enterprise application platform 7.4 1.9.3-1.Final_redhat_00001.1.el8eap
- eap7-hal-console jboss enterprise application platform 7.4 3.3.16-1.Final_redhat_00001.1.el8eap
- eap7-ironjacamar jboss enterprise application platform 7.4 1.5.10-1.Final_redhat_00001.1.el8eap
- eap7-jackson-core jboss enterprise application platform 7.4 2.12.7-1.redhat_00003.1.el8eap
red hat advisories RHSA-2023:0553RHSA-2023:0552RHSA-2023:0554
- reaper CBL-Mariner 2.0 3.1.1-10
- ntopng Azure Linux 3.0 5.2.1-4
azure linux advisories AZL-32178AZL-41019
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/moment/moment@69ed9d4 commit
- github.com/moment/moment#4326 pull request
- tenable.com/security/tns-2019-02 advisory
Is CVE-2017-18214 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18214 updated cvss 5.3
nodejs-moment: Regular expression denial of service
-
Red Hat Mobile Application Platform 4 nodejs-momentaffected: no fix available
-
Red Hat Satellite 5 momentjsaffected: no fix planned “Will not fix”
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-hal-console 3.3.16-1.Final_redhat_00001.1.el7eapfixed: vendor fix RHSA-2023:0552
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-hal-console 3.3.16-1.Final_redhat_00001.1.el8eapfixed: vendor fix RHSA-2023:0553
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-hal-console 3.3.16-1.Final_redhat_00001.1.el9eapfixed: vendor fix RHSA-2023:0554
-
Red Hat JBoss Enterprise Application Platform 7.4.9 hal-console 3.3.16.Final-redhat-00001fixed: vendor fix RHSA-2023:0556
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-jettison 1.5.2-1.redhat_00002.1.el7eap, eap7-wildfly 7.4.9-4.GA_redhat_00003.1.el7eap, eap7-apache-sshd 2.9.2-1.redhat_00001.1.el7eap, eap7-jackson-core 2.12.7-1.redhat_00003.1.el7eap, eap7-undertow 2.2.22-1.SP3_redhat_00001.1.el7eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el7eap, +42 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-jettison 1.5.2-1.redhat_00002.1.el8eap, eap7-wildfly 7.4.9-4.GA_redhat_00003.1.el8eap, eap7-apache-sshd 2.9.2-1.redhat_00001.1.el8eap, eap7-jackson-core 2.12.7-1.redhat_00003.1.el8eap, eap7-undertow 2.2.22-1.SP3_redhat_00001.1.el8eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el8eap, +40 more Red Hat JBoss EAP 7.4 for RHEL 9 eap7-jettison 1.5.2-1.redhat_00002.1.el9eap, eap7-wildfly 7.4.9-4.GA_redhat_00003.1.el9eap, eap7-apache-sshd 2.9.2-1.redhat_00001.1.el9eap, eap7-jackson-core 2.12.7-1.redhat_00003.1.el9eap, eap7-undertow 2.2.22-1.SP3_redhat_00001.1.el9eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el9eap, +40 more Red Hat JBoss Enterprise Application Platform 7.4.9 pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, fs 2.1.2, ip 2.0.0, +1536 more Red Hat Quay 3 quay/quay-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.65% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | moment | <2.19.3 |
2.19.3 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
tenable.com
/security/tns-2019-02
web, patch, third-party-advisory
-
github.com
/moment/moment/pull/4326
web
-
github.com
/moment/moment/commit/69ed9d44957fa6ab12b73d2ae29d286a857b80eb
web
-
github.com
/moment/moment/issues/4163
web, issue-tracking, third-party-advisory
-
nodesecurity.io
/advisories/532
not-applicable, url-repurposed
-
nvd.nist.gov
/vuln/detail/CVE-2017-18214
advisory
-
github.com
/advisories/GHSA-446m-mv8f-q348
advisory
-
github.com
/moment/moment
package
-
npmjs.com
/advisories/532
web
Sources
- CVE List CVE-2017-18214
- GitHub Advisory GHSA-446m-mv8f-q348
- NVD CVE-2017-18214
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.