Use-after-free in Mujs - CVE-2022-44789

 

Use-after-free in Mujs - CVE-2022-44789

Published: November 29, 2022 / Updated: January 29, 2023


Vulnerability identifier: #VU69667
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-44789
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when processing JavaScript files within the O_getOwnPropertyDescriptor() function. A remote attacker can pass a specially crafted JavaScript file to the application, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Mujs
Debian Linux
openEuler
Fedora
mujs (Debian package)
mujs
mujs-debuginfo
mujs-debugsource
mujs-devel

How to mitigate CVE-2022-44789

Install updates from vendor's website.

Mujs - update to 1.3.2
mujs (Debian package) - update to 1.1.0-1+deb11u2
mujs - update to 1.2.0-3
mujs-debuginfo - update to 1.2.0-3
mujs-debugsource - update to 1.2.0-3
mujs-devel - update to 1.2.0-3
mujs - addressed in versions 1.3.2-1.fc37, 1.3.2-1.fc38

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins