### [CVE-2016-4055](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4055) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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)." ### POC #### Reference - http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html - https://www.tenable.com/security/tns-2019-02 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/engn33r/awesome-redos-security - https://github.com/nccasia/web-secure - https://github.com/sunnyvale-it/cvss-calculator