CVE-2016-4055 — The duration function in the moment package before 2
The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."
Published
2017-01-23T21:59:01.330
Last modified
2026-05-13T00:24:29.033
CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:C
01What is this vulnerability?
The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2017-01-23T21:59:01.330
- Last modified: 2026-05-13T00:24:29.033
09References
- www.openwall.com — http://www.openwall.com/lists/oss-security/2016/04/20/11
- www.oracle.com — http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.securityfocus.com — http://www.securityfocus.com/bid/95849
- lists.apache.org — https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423…
- lists.apache.org — https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afe…
- lists.apache.org — https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a…
- lists.apache.org — https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c5…
- nodesecurity.io — https://nodesecurity.io/advisories/55
- www.tenable.com — https://www.tenable.com/security/tns-2019-02
- www.openwall.com — http://www.openwall.com/lists/oss-security/2016/04/20/11
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →