{"id":"CVE-2016-4055","details":"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).\"","aliases":["GHSA-87vv-r9j6-g5qv"],"modified":"2026-04-10T03:49:45.863524Z","published":"2017-01-23T21:59:01.330Z","references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/04/20/11"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95849"},{"type":"FIX","url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html"},{"type":"FIX","url":"https://www.tenable.com/security/tns-2019-02"},{"type":"EVIDENCE","url":"https://nodesecurity.io/advisories/55"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moment/moment","events":[{"introduced":"0"},{"fixed":"dd9cff0104c0dc3f114f54107397c59920e764cc"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.11.2"}]}}],"versions":["0.3.0","0.3.1","0.3.2","0.4.0","0.4.1","0.5.1","0.5.2","0.6.0","0.6.1","1.0.1","1.1.0","1.1.1","1.1.2","1.2.0","1.3.0","1.4.0","1.5.0","1.7.1","2.1.0","2.10.2","2.10.3","2.10.5","2.10.6","2.11.0","2.11.1","2.2.0","2.2.1","2.3.0","2.3.1","2.4.0","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.9.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"8.2.3"}]},{"events":[{"introduced":"16.0"},{"last_affected":"18.8.4"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4055.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}