SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   teTeX Vendors:   Esser, Thomas
(Red Hat Issues Fix for teTeX) Xpdf Memory Corruption Errors in t1lib Library Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1027436
SecurityTracker URL:  http://securitytracker.com/id/1027436
CVE Reference:   CVE-2011-0764   (Links to External Site)
Date:  Aug 23 2012
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in Xpdf. A remote user can cause arbitrary code to be executed on the target user's system. teTeX is affected.

A remote user can create a specially crafted Type 1 font that, when loaded by the target user or application, will trigger a memory corruption flaw in the t1lib library and execute arbitrary code on the target system. The code will run with the privileges of the target user or application.

The vendor was notified on January 5, 2011.

The original advisory is available at:

http://www.toucan-system.com/advisories/tssa-2011-01.txt

Jonathan Brossard from Toucan System reported this vulnerability.

Impact:   A remote user can create a font that, when loaded by the target user, will execute arbitrary code on the target user's system.
Solution:   Red Hat has issued a fix for teTeX.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2012-1201.html

Cause:   Access control error, Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  5

Message History:   This archive entry is a follow-up to the message listed below.
Mar 29 2011 Xpdf Memory Corruption Errors in t1lib Library Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2012:1201-01] Moderate: tetex security update

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: tetex security update
Advisory ID:       RHSA-2012:1201-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-1201.html
Issue date:        2012-08-23
CVE Names:         CVE-2010-2642 CVE-2010-3702 CVE-2010-3704 
                   CVE-2011-0433 CVE-2011-0764 CVE-2011-1552 
                   CVE-2011-1553 CVE-2011-1554 
=====================================================================

1. Summary:

Updated tetex packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

3. Description:

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.

teTeX embeds a copy of t1lib to rasterize bitmaps from PostScript Type 1
fonts. The following issues affect t1lib code:

Two heap-based buffer overflow flaws were found in the way t1lib processed
Adobe Font Metrics (AFM) files. If a specially-crafted font file was opened
by teTeX, it could cause teTeX to crash or, potentially, execute arbitrary
code with the privileges of the user running teTeX. (CVE-2010-2642,
CVE-2011-0433)

An invalid pointer dereference flaw was found in t1lib. A specially-crafted
font file could, when opened, cause teTeX to crash or, potentially, execute
arbitrary code with the privileges of the user running teTeX.
(CVE-2011-0764)

A use-after-free flaw was found in t1lib. A specially-crafted font file
could, when opened, cause teTeX to crash or, potentially, execute arbitrary
code with the privileges of the user running teTeX. (CVE-2011-1553)

An off-by-one flaw was found in t1lib. A specially-crafted font file could,
when opened, cause teTeX to crash or, potentially, execute arbitrary code
with the privileges of the user running teTeX. (CVE-2011-1554)

An out-of-bounds memory read flaw was found in t1lib. A specially-crafted
font file could, when opened, cause teTeX to crash. (CVE-2011-1552)

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:

An uninitialized pointer use flaw was discovered in Xpdf. If pdflatex was
used to process a TeX document referencing a specially-crafted PDF file, it
could cause pdflatex to crash or, potentially, execute arbitrary code with
the privileges of the user running pdflatex. (CVE-2010-3702)

An array index error was found in the way Xpdf parsed PostScript Type 1
fonts embedded in PDF documents. If pdflatex was used to process a TeX
document referencing a specially-crafted PDF file, it could cause pdflatex
to crash or, potentially, execute arbitrary code with the privileges of the
user running pdflatex. (CVE-2010-3704)

Red Hat would like to thank the Evince development team for reporting
CVE-2010-2642. Upstream acknowledges Jon Larimer of IBM X-Force as the
original reporter of CVE-2010-2642.

All users of tetex are advised to upgrade to these updated packages, which
contain backported patches to correct these issues.

4. 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
https://access.redhat.com/knowledge/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

595245 - CVE-2010-3702 xpdf: uninitialized Gfx::parser pointer dereference
638960 - CVE-2010-3704 xpdf: array indexing error in FoFiType1::parse()
666318 - CVE-2010-2642 evince, t1lib: Heap based buffer overflow in DVI file AFM font parser
679732 - CVE-2011-0433 evince, t1lib: Heap-based buffer overflow DVI file AFM font parser
692853 - CVE-2011-1552 t1lib: invalid read crash via crafted Type 1 font
692854 - CVE-2011-1553 t1lib: Use-after-free via crafted Type 1 font
692856 - CVE-2011-1554 t1lib: Off-by-one via crafted Type 1 font
692909 - CVE-2011-0764 t1lib: Invalid pointer dereference via crafted Type 1 font

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/tetex-3.0-33.15.el5_8.1.src.rpm

i386:
tetex-3.0-33.15.el5_8.1.i386.rpm
tetex-afm-3.0-33.15.el5_8.1.i386.rpm
tetex-debuginfo-3.0-33.15.el5_8.1.i386.rpm
tetex-doc-3.0-33.15.el5_8.1.i386.rpm
tetex-dvips-3.0-33.15.el5_8.1.i386.rpm
tetex-fonts-3.0-33.15.el5_8.1.i386.rpm
tetex-latex-3.0-33.15.el5_8.1.i386.rpm
tetex-xdvi-3.0-33.15.el5_8.1.i386.rpm

x86_64:
tetex-3.0-33.15.el5_8.1.x86_64.rpm
tetex-afm-3.0-33.15.el5_8.1.x86_64.rpm
tetex-debuginfo-3.0-33.15.el5_8.1.x86_64.rpm
tetex-doc-3.0-33.15.el5_8.1.x86_64.rpm
tetex-dvips-3.0-33.15.el5_8.1.x86_64.rpm
tetex-fonts-3.0-33.15.el5_8.1.x86_64.rpm
tetex-latex-3.0-33.15.el5_8.1.x86_64.rpm
tetex-xdvi-3.0-33.15.el5_8.1.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/tetex-3.0-33.15.el5_8.1.src.rpm

i386:
tetex-3.0-33.15.el5_8.1.i386.rpm
tetex-afm-3.0-33.15.el5_8.1.i386.rpm
tetex-debuginfo-3.0-33.15.el5_8.1.i386.rpm
tetex-doc-3.0-33.15.el5_8.1.i386.rpm
tetex-dvips-3.0-33.15.el5_8.1.i386.rpm
tetex-fonts-3.0-33.15.el5_8.1.i386.rpm
tetex-latex-3.0-33.15.el5_8.1.i386.rpm
tetex-xdvi-3.0-33.15.el5_8.1.i386.rpm

ia64:
tetex-3.0-33.15.el5_8.1.ia64.rpm
tetex-afm-3.0-33.15.el5_8.1.ia64.rpm
tetex-debuginfo-3.0-33.15.el5_8.1.ia64.rpm
tetex-doc-3.0-33.15.el5_8.1.ia64.rpm
tetex-dvips-3.0-33.15.el5_8.1.ia64.rpm
tetex-fonts-3.0-33.15.el5_8.1.ia64.rpm
tetex-latex-3.0-33.15.el5_8.1.ia64.rpm
tetex-xdvi-3.0-33.15.el5_8.1.ia64.rpm

ppc:
tetex-3.0-33.15.el5_8.1.ppc.rpm
tetex-afm-3.0-33.15.el5_8.1.ppc.rpm
tetex-debuginfo-3.0-33.15.el5_8.1.ppc.rpm
tetex-doc-3.0-33.15.el5_8.1.ppc.rpm
tetex-dvips-3.0-33.15.el5_8.1.ppc.rpm
tetex-fonts-3.0-33.15.el5_8.1.ppc.rpm
tetex-latex-3.0-33.15.el5_8.1.ppc.rpm
tetex-xdvi-3.0-33.15.el5_8.1.ppc.rpm

s390x:
tetex-3.0-33.15.el5_8.1.s390x.rpm
tetex-afm-3.0-33.15.el5_8.1.s390x.rpm
tetex-debuginfo-3.0-33.15.el5_8.1.s390x.rpm
tetex-doc-3.0-33.15.el5_8.1.s390x.rpm
tetex-dvips-3.0-33.15.el5_8.1.s390x.rpm
tetex-fonts-3.0-33.15.el5_8.1.s390x.rpm
tetex-latex-3.0-33.15.el5_8.1.s390x.rpm
tetex-xdvi-3.0-33.15.el5_8.1.s390x.rpm

x86_64:
tetex-3.0-33.15.el5_8.1.x86_64.rpm
tetex-afm-3.0-33.15.el5_8.1.x86_64.rpm
tetex-debuginfo-3.0-33.15.el5_8.1.x86_64.rpm
tetex-doc-3.0-33.15.el5_8.1.x86_64.rpm
tetex-dvips-3.0-33.15.el5_8.1.x86_64.rpm
tetex-fonts-3.0-33.15.el5_8.1.x86_64.rpm
tetex-latex-3.0-33.15.el5_8.1.x86_64.rpm
tetex-xdvi-3.0-33.15.el5_8.1.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://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-2642.html
https://www.redhat.com/security/data/cve/CVE-2010-3702.html
https://www.redhat.com/security/data/cve/CVE-2010-3704.html
https://www.redhat.com/security/data/cve/CVE-2011-0433.html
https://www.redhat.com/security/data/cve/CVE-2011-0764.html
https://www.redhat.com/security/data/cve/CVE-2011-1552.html
https://www.redhat.com/security/data/cve/CVE-2011-1553.html
https://www.redhat.com/security/data/cve/CVE-2011-1554.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2012 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFQNkf0XlSAg2UNWIIRAiQFAJ9WUAfXKk43rYvg+UYPr0aOZvojRgCeKWRl
PAzUWlaBGi1pT+Kr2TaQk1E=
=iYiF
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC