Buffer overflow in Firefox ESR and Mozilla Firefox - CVE-2018-5146

 

Buffer overflow in Firefox ESR and Mozilla Firefox - CVE-2018-5146

Published: March 16, 2018 / Updated: March 16, 2018


Vulnerability identifier: #VU11140
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-5146
CWE-ID: CWE-787
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 vulnerability exists due to boundary error when processing Vorbis audio within libvorbis library. A remote unauthenticated attacker can create a specially crafted HTML page, trick the victim into opening it, trigger out-of-bounds write and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Firefox ESR
Mozilla Firefox
Debian Linux
Arch Linux
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power
Red Hat Enterprise Linux EUS Compute Node
Slackware Linux
Fedora
libvorbis (Alpine package)
libvorbis
mingw-libvorbis
firefox
Mozilla Thunderbird

How to mitigate CVE-2018-5146

Update to version Firefox 59.0.1 or Firefox ESR 52.7.2.

libvorbis (Alpine package) - update to 1.3.6-r0
libvorbis - addressed in versions 1.3.6-1.fc26, 1.3.6-1.fc27, 1.3.6-1.fc28
mingw-libvorbis - update to 1.3.6-2.fc29
firefox - update to 59.0.1-1.fc28

External References

Related Security Bulletins