#VU65835 Incorrect Regular Expression in Moment - CVE-2022-31129

 

#VU65835 Incorrect Regular Expression in Moment - CVE-2022-31129

Published: July 27, 2022 / Updated: September 7, 2022


Vulnerability identifier: #VU65835
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-31129
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Moment
Software vendor:
Moment.js

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper validation of user-supplied input when parsing overly long strings. A remote attacker can pass a string that contains more that 10k characters and perform regular expression denial of service (ReDoS) attack.


Remediation

Install updates from vendor's website.

External links