Uncontrolled Recursion in Mujs - CVE-2022-30974
Published: November 29, 2022
Vulnerability identifier: #VU69665
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2022-30974
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.Affected software
Mujs
Debian Linux
Fedora
mujs (Debian package)
mujs
Debian Linux
Fedora
mujs (Debian package)
mujs
How to mitigate CVE-2022-30974
Install updates from vendor's website.
Mujs - update to 1.3.0
mujs (Debian package) - update to 1.1.0-1+deb11u2
mujs - addressed in versions 1.3.2-1.fc37, 1.3.2-1.fc38
mujs (Debian package) - update to 1.1.0-1+deb11u2
mujs - addressed in versions 1.3.2-1.fc37, 1.3.2-1.fc38