blob: ef8d273b124cb9ac690b91753444700430decd07 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200501-31">
<title>teTeX, pTeX, CSTeX: Multiple vulnerabilities</title>
teTeX, pTeX and CSTeX make use of vulnerable Xpdf code which may allow the
remote execution of arbitrary code. Furthermore, the xdvizilla script is
vulnerable to temporary file handling issues.
<product type="ebuild">teTeX</product>
<announced>January 23, 2005</announced>
<revised>January 23, 2005: 01</revised>
<access>remote and local</access>
<package name="app-text/tetex" auto="yes" arch="*">
<unaffected range="ge">2.0.2-r5</unaffected>
<vulnerable range="lt">2.0.2-r5</vulnerable>
<package name="app-text/cstetex" auto="yes" arch="*">
<unaffected range="ge">2.0.2-r1</unaffected>
<vulnerable range="lt">2.0.2-r1</vulnerable>
<package name="app-text/ptex" auto="yes" arch="*">
<unaffected range="ge">3.1.4-r2</unaffected>
<vulnerable range="lt">3.1.4-r2</vulnerable>
teTeX is a complete and open source TeX distribution. CSTeX is
another TeX distribution including Czech and Slovak support. pTeX is
another alternative that allows Japanese publishing with TeX. xdvizilla
is an auxiliary script used to integrate DVI file viewing in
Mozilla-based browsers.
teTeX, pTeX and CSTeX all make use of Xpdf code and may therefore
be vulnerable to the various overflows that were discovered in Xpdf
code (CAN-2004-0888, CAN-2004-0889, CAN-2004-1125 and CAN-2005-0064).
Furthermore, Javier Fernandez-Sanguino Pena discovered that the
xdvizilla script does not handle temporary files correctly.
<impact type="normal">
An attacker could design a malicious input file which, when
processed using one of the TeX distributions, could lead to the
execution of arbitrary code. Furthermore, a local attacker could create
symbolic links in the temporary files directory, pointing to a valid
file somewhere on the filesystem. When xdvizilla is called, this would
result in the file being overwritten with the rights of the user
running the script.
There is no known workaround at this time.
All teTeX users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-text/tetex-2.0.2-r5&quot;</code>
All CSTeX users should also upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-text/cstetex-2.0.2-r1&quot;</code>
Finally, all pTeX users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-text/ptex-3.1.4-r2&quot;</code>
<uri link="">CAN-2004-0888</uri>
<uri link="">CAN-2004-0889</uri>
<uri link="">CAN-2004-1125</uri>
<uri link="">CAN-2005-0064</uri>
<metadata tag="requester" timestamp="Fri, 21 Jan 2005 10:36:38 +0000">
<metadata tag="submitter" timestamp="Fri, 21 Jan 2005 22:41:12 +0000">
<metadata tag="bugReady" timestamp="Sun, 23 Jan 2005 12:09:17 +0000">