#VU21762 Resource management error in Moment


Published: 2019-10-14

Vulnerability identifier: #VU21762

Vulnerability risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2016-4055

CWE-ID: CWE-399

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Moment
Web applications / JS libraries

Vendor: Moment.js

Description

The vulnerability allows a remote attacker to perform a regular expression denial of service (ReDoS) attack.

The vulnerability exists due to an error in the "moment.duration()" function. A remote attacker can send a specially crafted input and cause regular expression denial of service via a long string.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Moment: 0.3.0 - 2.11.2


External links
http://nodesecurity.io/advisories/55
http://www.npmjs.com/advisories/55


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability