Uncontrolled Recursion in Mujs - CVE-2022-30974

 

Uncontrolled Recursion in Mujs - CVE-2022-30974

Published: November 29, 2022


Vulnerability identifier: #VU69665
CSH Severity: Medium
CVSS v4.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-30974
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Artifex Software, Inc.
Affected software:
Mujs

Detailed vulnerability description

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

The vulnerability exists due to unlimited recursion within the compile() function in regexp.cc. A remote attacker can pass a specially crafted string to the application and consume all available CPU resources on the system.

How to mitigate CVE-2022-30974

Install updates from vendor's website.

Sources