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)."
Remediation
References
http://www.openwall.com/lists/oss-security/2016/04/20/11
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
http://www.securityfocus.com/bid/95849
https://lists.apache.org/thread.html/10f0f3aefd51444d1198c65f44ffdf2d78ca3359423dbc1c168c9731%40%3Cdev.flink.apache.org%3E
https://lists.apache.org/thread.html/17ff53f7999e74fbe3cc0ceb4e1c3b00b180b7c5afec8e978837bc49%40%3Cuser.flink.apache.org%3E
https://lists.apache.org/thread.html/52bafac05ad174000ea465fe275fd3cc7bd5c25535a7631c0bc9bfb2%40%3Cuser.flink.apache.org%3E
https://lists.apache.org/thread.html/54df3aeb4239b64b50b356f0ca6f986e3c4ca5b84c515dce077c7854%40%3Cuser.flink.apache.org%3E
https://nodesecurity.io/advisories/55
https://www.tenable.com/security/tns-2019-02
Related Vulnerabilities
CVE-2022-45391 Vulnerability in maven package io.jenkins.plugins:cavisson-ns-nd-integration
CVE-2023-26102 Vulnerability in npm package rangy
CVE-2020-7789 Vulnerability in maven package org.webjars.npm:node-notifier
CVE-2019-10773 Vulnerability in maven package org.webjars.npm:yarn
CVE-2019-1003058 Vulnerability in maven package org.jvnet.hudson.plugins:ftppublisher