Bug 1553413 (CVE-2017-18214)

Summary: CVE-2017-18214 nodejs-moment: Regular expression denial of service
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: asoldano, bbaranow, bdettelb, bkearney, bmaxwell, brian.stansberry, cdewolf, chazlett, darran.lofthouse, dffrench, dkreling, doconnor, dosoudil, drusso, fjuma, istudens, ivassile, iweiss, jmadigan, jochrist, jshepherd, jwon, krathod, lgao, lgriffin, meissner, mosmerov, msochure, msvehla, ngough, nwallace, pesilva, pjindal, pmackay, pwright, rrajasek, rstancel, smaestri, tchollingsworth, teagle, thomas, tlestach, tomckay, tom.jenkinson, trepel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: moment 2.19.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 19:57:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1553414, 1553450, 1553451    
Bug Blocks: 1553417    

Description Pedro Sampaio 2018-03-08 19:54:41 UTC
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.

Upstream patch:

https://github.com/moment/moment/pull/4326

Upstream issue:

https://github.com/moment/moment/issues/4163

References:

https://nodesecurity.io/advisories/532

Comment 1 Pedro Sampaio 2018-03-08 19:55:08 UTC
Created nodejs-moment tracking bugs for this issue:

Affects: fedora-all [bug 1553414]

Comment 4 Andrej Nemec 2018-05-14 15:24:03 UTC
Statement:

This issue affects the versions of momentjs as shipped with Red Hat Enterprise Satellite 5. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 13 errata-xmlrpc 2023-01-31 13:10:16 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8

Via RHSA-2023:0553 https://access.redhat.com/errata/RHSA-2023:0553

Comment 14 errata-xmlrpc 2023-01-31 13:14:12 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7

Via RHSA-2023:0552 https://access.redhat.com/errata/RHSA-2023:0552

Comment 15 errata-xmlrpc 2023-01-31 13:17:49 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9

Via RHSA-2023:0554 https://access.redhat.com/errata/RHSA-2023:0554

Comment 16 errata-xmlrpc 2023-01-31 13:18:57 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2023:0556 https://access.redhat.com/errata/RHSA-2023:0556

Comment 19 errata-xmlrpc 2025-10-23 23:11:06 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7

Via RHSA-2023:0556 https://access.redhat.com/errata/RHSA-2023:0556