Use-after-free error in Mozilla Firefox - CVE-2018-5104

 

Use-after-free error in Mozilla Firefox - CVE-2018-5104

Published: January 24, 2018


Vulnerability identifier: #VU10170
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5104
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to use-after-free error during font face manipulation. A remote attacker can trick the victim into visiting a specially crafted website, trigger memory corruption and execute arbitrary code with privileges of the current user.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

Mozilla Firefox
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux for x86_64
SUSE Linux
Ubuntu
Opensuse
OTRS
Mozilla Thunderbird
firefox-esr (Alpine package)
thunderbird (Ubuntu package)

How to mitigate CVE-2018-5104

Update to version 58.0.

firefox-esr (Alpine package) - update to 52.6.0-r0
thunderbird (Ubuntu package) - addressed in versions 1:52.6.0+build1-0ubuntu0.14.04.1, 1:52.6.0+build1-0ubuntu0.16.04.1, 1:52.6.0+build1-0ubuntu0.17.10.1

External References

Related Security Bulletins