This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 679732 - (CVE-2011-0433) CVE-2011-0433 t1lib: Heap-based buffer overflow DVI file AFM font parser
CVE-2011-0433 t1lib: Heap-based buffer overflow DVI file AFM font parser
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
public=20110130,reported=20110210,sou...
: Security
Depends On: 679734 679735 772899 772900 772901 773177 773178 773180 773183 773184 845624 984476
Blocks: 734178
  Show dependency treegraph
 
Reported: 2011-02-23 06:18 EST by Jan Lieskovsky
Modified: 2016-03-04 05:58 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-04-05 11:39:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
t1lib fix (937 bytes, patch)
2012-01-10 06:27 EST, Jaroslav Škarvada
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Desktop 640923 None None None Never
GNOME Desktop 643882 None None None Never

  None (edit)
Description Jan Lieskovsky 2011-02-23 06:18:47 EST
A heap-based buffer overflow flaw was found in the way AFM font file
parser, used for rendering of DVI files, in GNOME evince document viewer
and other products, processed line tokens from the given input stream. 
A remote attacker could provide a DVI file, with embedded specially-crafted 
font file, and trick the local user to open it with an application using
the AFM font parser, leading to that particular application crash or,
potentially, arbitrary code execution with the privileges of the user
running the application. Different vulnerability than CVE-2010-2642.

Upstream bug report:
[1] https://bugzilla.gnome.org/show_bug.cgi?id=640923

Upstream patch:
[2] https://bugzilla.gnome.org/show_bug.cgi?id=640923#c1
Comment 1 Jan Lieskovsky 2011-02-23 06:21:01 EST
This issue does not affect the versions of the evince package, as shipped
with Red Hat Enterprise Linux 5 and 6.

--

This issue does not affect the versions of the evince package, as shipped
with Fedora release of 13 and 14.
Comment 2 Jan Lieskovsky 2011-02-23 06:22:05 EST
This issue affects the version of the t1lib package, as shipped
with Red Hat Enterprise Linux 6.

--

This issue affects the versions of the t1lib package, as shipped
with Fedora release of 13 and 14.

This issue affects the version of the t1lib package, as present
within EPEL-5 repository.
Comment 3 Jan Lieskovsky 2011-02-23 06:23:16 EST
Created evince tracking bugs for this issue

Affects: fedora-all [bug 679733]
Comment 4 Jan Lieskovsky 2011-02-23 06:23:20 EST
Created t1lib tracking bugs for this issue

Affects: epel-5 [bug 679734]
Affects: fedora-all [bug 679735]
Comment 10 Huzaifa S. Sidhpurwala 2011-02-25 04:00:00 EST
evince in rhel-6 is not build with afmparse.c, due to the following code segment in tfmfile.c

#ifdef WITH_AFM_FILES
#undef TRUE
#undef FALSE
#include "afmparse.h"
#endif

Statement:

Not vulnerable. This issue did not affect the versions of evince as shipped with Red Hat Enterprise Linux 5 and 6.
Comment 11 Tomas Hoger 2011-03-04 11:09:10 EST
A gnome BZ bug for the off-by-one issue in the original patch:
  https://bugzilla.gnome.org/show_bug.cgi?id=643882
Comment 13 Huzaifa S. Sidhpurwala 2012-01-10 04:40:53 EST
Created t1lib tracking bugs for this issue

Affects: fedora-all [bug 772899]
Comment 14 Jaroslav Škarvada 2012-01-10 06:27:11 EST
Created attachment 551814 [details]
t1lib fix
Comment 17 errata-xmlrpc 2012-01-24 16:17:27 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0062 https://rhn.redhat.com/errata/RHSA-2012-0062.html
Comment 18 Fedora Update System 2012-01-27 14:19:21 EST
t1lib-5.0.2-2 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 19 Fedora Update System 2012-01-27 14:21:07 EST
t1lib-5.1.1-9.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 20 Fedora Update System 2012-01-27 22:23:05 EST
t1lib-5.1.2-9.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 21 Fedora Update System 2012-01-27 22:28:10 EST
t1lib-5.1.2-9.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 22 errata-xmlrpc 2012-02-15 11:20:47 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0137 https://rhn.redhat.com/errata/RHSA-2012-0137.html
Comment 23 errata-xmlrpc 2012-08-23 10:58:16 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:1201 https://rhn.redhat.com/errata/RHSA-2012-1201.html
Comment 24 Tomas Hoger 2012-11-23 07:49:04 EST
(In reply to comment #0)
> Different vulnerability than CVE-2010-2642.

CVE-2010-2642 (bug 666318) was assigned to the overflow in the token() function.

CVE-2011-0433 was assigned to the similar issue in the linetoken() function.  Upstream commit is:

http://git.gnome.org/browse/evince/commit/?id=439c5070022e

Off-by-one issue mentioned in comment 11 was fixed in both functions via:

http://git.gnome.org/browse/evince/commit/?id=efadec4ffcdd

This problem later got CVE-2011-5244 assigned (bug 878483).
Comment 25 Tomas Hoger 2012-11-23 08:32:58 EST
This was previously fixed in OpenOffice.org, see bug 666318, comment 30.

Note You need to log in before you can comment on or make changes to this bug.