{"id":"CVE-2016-4055","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T00:17:30Z","title":"The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).\"","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.09905,"percentile":0.95692,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","tags":["x_refsource_CONFIRM"]},{"url":"https://nodesecurity.io/advisories/55","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/04/20/11","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/95849","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.tenable.com/security/tns-2019-02","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":19.14}]},"affected":[{"ecosystem":"npm","package":"moment","vulnerableRanges":["<2.11.2"],"patched":["2.11.2"],"from":["GHSA-87vv-r9j6-g5qv"],"provenance":"source"}],"summary":{"text":"The duration function in the moment package for Node.js, in versions before 2.11.2, contains a regular expression flaw that makes it vulnerable to ReDoS (regular expression denial of service). An attacker with remote access can send a long string to trigger excessive CPU consumption, provided the application passes untrusted input to that function.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:51:27Z"},"euvd":{"id":"EUVD-2017-0191","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-4055","published":"2017-01-23","fixed":"2.11.2","kev":false},{"cve":"CVE-2017-18214","published":"2018-03-04","fixed":"2.19.3","kev":false,"link":{"from":"CVE-2016-4055","to":"CVE-2017-18214","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:moment","fromFixed":"2.11.2","toFixed":"2.19.3","daysApart":405},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same package + description similarity"}]}},{"cve":"CVE-2022-24785","published":"2022-04-04","fixed":"2.29.2","kev":false},{"cve":"CVE-2022-31129","published":"2022-07-06","fixed":"2.29.4","kev":false}],"package":"npm:moment"}}