Bug 203172 - vncserver PCF handling Integer overflow
vncserver PCF handling Integer overflow
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: vnc (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Adam Tkac
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-18 15:13 EDT by Josh Bressers
Modified: 2013-04-30 19:34 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2008-0685
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-07-24 15:35:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch (3.76 KB, patch)
2007-07-04 05:48 EDT, Adam Tkac
no flags Details | Diff

  None (edit)
Description Josh Bressers 2006-08-18 15:13:02 EDT
+++ This bug was initially created as a clone of Bug #202469 +++

An integer overflow was discovered in the way freetype processes malformed PCF
files.  It seems that Xorg also contains the same PCF processing code as
freetype, there it too is vulnerable this issue.

We initally described this issue for freetype in bug 190593.

The upstream bug is here:
https://bugs.freedesktop.org/show_bug.cgi?id=7535

-- Additional comment from bressers@redhat.com on 2006-08-14 14:09 EST --
The upstream patch is attachment 134155 [details]


-- Additional comment from bressers@redhat.com on 2006-08-15 20:42 EST --
Created an attachment (id=134276)
Demo font file


This issue also affects the vncserver shipped with RHEL2.1 and RHEL3
Comment 1 Marek Grac 2006-08-23 08:13:45 EDT
Affected code is not in the VNC package
Comment 2 Josh Bressers 2006-08-23 08:35:07 EDT
I can make the vnc server crash by using the demo font file.

Differnt issue perhaps?
Comment 3 Marek Grac 2006-08-24 10:06:34 EDT
My fault, there were two files with same name and I have checked just one of
them.   After applying proposed patch the vncserver works correctly (xfontsel
crashes). 
Comment 4 Josh Bressers 2006-08-25 14:44:48 EDT
I've done some thinking about this and I'm removing the Security keyword.  There
is no way this can be considered a security issue, it's simply a bug.

The only way this is exploitable is if a bad font can be included in the
vncserver font path.  That means that an attacker already has access to the
account in question.
Comment 8 Adam Tkac 2007-07-04 05:48:28 EDT
Created attachment 158511 [details]
Proposed patch
Comment 10 RHEL Product and Program Management 2007-11-28 23:25:04 EST
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.
Comment 15 errata-xmlrpc 2008-07-24 15:35:52 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0685.html

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