Buffer overflow in texlive - CVE-2018-17407

 

Buffer overflow in texlive - CVE-2018-17407

Published: October 16, 2018 / Updated: October 17, 2018


Vulnerability identifier: #VU15378
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-17407
CWE-ID: CWE-120
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 buffer overflow when handling of Type 1 fonts by the t1_check_unusual_charstring functions, as defined in the writet1.c source code file. A remote unauthenticated attacker can trick the victim into loading a file that submits malicious Type 1 fonts to the targeted system with the pdflatex, pdftex, dvips, or luatex tools, trigger memory corruption and execute arbitrary code with elevated privileges.

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


Affected software

texlive
Arch Linux
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Opensuse
Fedora
texlive (Red Hat package)
texlive
texlive-base

How to mitigate CVE-2018-17407

Install update from vendor's website.

texlive (Red Hat package) - update to 2012-45.20130427_r30134.el7
texlive - update to 2018-20.fc29
texlive-base - update to 20180414-24.fc29

External References

Related Security Bulletins