RedHat: RHSA-2010-0399:01 Moderate: tetex security update
Summary
teTeX is an implementation of TeX. TeX takes a text file and a set of
formatting commands as input, and creates a typesetter-independent DeVice
Independent (DVI) file as output.
A buffer overflow flaw was found in the way teTeX processed virtual font
files when converting DVI files into PostScript. An attacker could create a
malicious DVI file that would cause the dvips executable to crash or,
potentially, execute arbitrary code. (CVE-2010-0827)
Multiple integer overflow flaws were found in the way teTeX processed
special commands when converting DVI files into PostScript. An attacker
could create a malicious DVI file that would cause the dvips executable to
crash or, potentially, execute arbitrary code. (CVE-2010-0739,
CVE-2010-1440)
A stack-based buffer overflow flaw was found in the way teTeX processed DVI
files containing HyperTeX references with long titles, when converting them
into PostScript. An attacker could create a malicious DVI file that would
cause the dvips executable to crash. (CVE-2007-5935)
teTeX embeds a copy of Xpdf, an open source Portable Document Format (PDF)
file viewer, to allow adding images in PDF format to the generated PDF
documents. The following issues affect Xpdf code:
Multiple integer overflow flaws were found in Xpdf's JBIG2 decoder. If a
local user generated a PDF file from a TeX document, referencing a
specially-crafted PDF file, it would cause Xpdf to crash or, potentially,
execute arbitrary code with the privileges of the user running pdflatex.
(CVE-2009-0147, CVE-2009-1179)
Multiple integer overflow flaws were found in Xpdf. If a local user
generated a PDF file from a TeX document, referencing a specially-crafted
PDF file, it would cause Xpdf to crash or, potentially, execute arbitrary
code with the privileges of the user running pdflatex. (CVE-2009-0791,
CVE-2009-3609)
A heap-based buffer overflow flaw was found in Xpdf's JBIG2 decoder. If a
local user generated a PDF file from a TeX document, referencing a
specially-crafted PDF file, it would cause Xpdf to crash or, potentially,
execute arbitrary code with the privileges of the user running pdflatex.
(CVE-2009-0195)
Multiple buffer overflow flaws were found in Xpdf's JBIG2 decoder. If a
local user generated a PDF file from a TeX document, referencing a
specially-crafted PDF file, it would cause Xpdf to crash or, potentially,
execute arbitrary code with the privileges of the user running pdflatex.
(CVE-2009-0146, CVE-2009-1182)
Multiple flaws were found in Xpdf's JBIG2 decoder that could lead to the
freeing of arbitrary memory. If a local user generated a PDF file from a
TeX document, referencing a specially-crafted PDF file, it would cause
Xpdf to crash or, potentially, execute arbitrary code with the privileges
of the user running pdflatex. (CVE-2009-0166, CVE-2009-1180)
Multiple input validation flaws were found in Xpdf's JBIG2 decoder. If a
local user generated a PDF file from a TeX document, referencing a
specially-crafted PDF file, it would cause Xpdf to crash or, potentially,
execute arbitrary code with the privileges of the user running pdflatex.
(CVE-2009-0800)
Multiple denial of service flaws were found in Xpdf's JBIG2 decoder. If a
local user generated a PDF file from a TeX document, referencing a
specially-crafted PDF file, it would cause Xpdf to crash. (CVE-2009-0799,
CVE-2009-1181, CVE-2009-1183)
Red Hat would like to thank Braden Thomas and Drew Yao of the Apple Product
Security team, Will Dormann of the CERT/CC, and Alin Rad Pop of Secunia
Research, for responsibly reporting the Xpdf flaws.
All users of tetex are advised to upgrade to these updated packages, which
contain backported patches to correct these issues.
Summary
Solution
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
References
https://www.redhat.com/security/data/cve/CVE-2007-5935.html https://www.redhat.com/security/data/cve/CVE-2009-0146.html https://www.redhat.com/security/data/cve/CVE-2009-0147.html https://www.redhat.com/security/data/cve/CVE-2009-0166.html https://www.redhat.com/security/data/cve/CVE-2009-0195.html https://www.redhat.com/security/data/cve/CVE-2009-0791.html https://www.redhat.com/security/data/cve/CVE-2009-0799.html https://www.redhat.com/security/data/cve/CVE-2009-0800.html https://www.redhat.com/security/data/cve/CVE-2009-1179.html https://www.redhat.com/security/data/cve/CVE-2009-1180.html https://www.redhat.com/security/data/cve/CVE-2009-1181.html https://www.redhat.com/security/data/cve/CVE-2009-1182.html https://www.redhat.com/security/data/cve/CVE-2009-1183.html https://www.redhat.com/security/data/cve/CVE-2009-3609.html https://www.redhat.com/security/data/cve/CVE-2010-0739.html https://www.redhat.com/security/data/cve/CVE-2010-0827.html https://www.redhat.com/security/data/cve/CVE-2010-1440.html http://www.redhat.com/security/updates/classification/#moderate
Package List
Red Hat Enterprise Linux AS version 4:
Source:
i386:
tetex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.i386.rpm
ia64:
tetex-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.ia64.rpm
ppc:
tetex-2.0.2-22.0.1.EL4.16.ppc.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.ppc.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.ppc.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.ppc.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.ppc.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.ppc.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.ppc.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.ppc.rpm
s390:
tetex-2.0.2-22.0.1.EL4.16.s390.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.s390.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.s390.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.s390.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.s390.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.s390.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.s390.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.s390.rpm
s390x:
tetex-2.0.2-22.0.1.EL4.16.s390x.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.s390x.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.s390x.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.s390x.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.s390x.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.s390x.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.s390x.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.s390x.rpm
x86_64:
tetex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.x86_64.rpm
Red Hat Enterprise Linux Desktop version 4:
Source:
i386:
tetex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.i386.rpm
x86_64:
tetex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.x86_64.rpm
Red Hat Enterprise Linux ES version 4:
Source:
i386:
tetex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.i386.rpm
ia64:
tetex-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.ia64.rpm
x86_64:
tetex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.x86_64.rpm
Red Hat Enterprise Linux WS version 4:
Source:
i386:
tetex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.i386.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.i386.rpm
ia64:
tetex-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.ia64.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.ia64.rpm
x86_64:
tetex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-afm-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-debuginfo-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-doc-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-dvips-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-fonts-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-latex-2.0.2-22.0.1.EL4.16.x86_64.rpm
tetex-xdvi-2.0.2-22.0.1.EL4.16.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package
![Dist Redhat](/images/distros/dist-redhat.png)
Topic
Updated tetex packages that fix multiple security issues are now availablefor Red Hat Enterprise Linux 4.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64
Bugs Fixed
368591 - CVE-2007-5935 dvips -z buffer overflow with long href
490612 - CVE-2009-0146 xpdf: Multiple buffer overflows in JBIG2 decoder (setBitmap, readSymbolDictSeg) (CVE-2009-0195)
490614 - CVE-2009-0147 xpdf: Multiple integer overflows in JBIG2 decoder
490625 - CVE-2009-0166 xpdf: Freeing of potentially uninitialized memory in JBIG2 decoder
491840 - CVE-2009-0791 xpdf: multiple integer overflows
495886 - CVE-2009-0799 PDF JBIG2 decoder OOB read
495887 - CVE-2009-0800 PDF JBIG2 multiple input validation flaws
495889 - CVE-2009-1179 PDF JBIG2 integer overflow
495892 - CVE-2009-1180 PDF JBIG2 invalid free()
495894 - CVE-2009-1181 PDF JBIG2 NULL dereference
495896 - CVE-2009-1182 PDF JBIG2 MMR decoder buffer overflows
495899 - CVE-2009-1183 PDF JBIG2 MMR infinite loop DoS
526893 - CVE-2009-3609 xpdf/poppler: ImageStream::ImageStream integer overflow
572914 - CVE-2010-0827 tetex, texlive: Buffer overflow flaw by processing virtual font files
572941 - CVE-2010-0739 tetex, texlive: Integer overflow by processing special commands
586819 - CVE-2010-1440 tetex, texlive: Integer overflow by processing special commands