Bug 1096601 (CVE-2014-0211) - CVE-2014-0211 libXfont: integer overflows calculating memory needs for xfs replies
Summary: CVE-2014-0211 libXfont: integer overflows calculating memory needs for xfs re...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2014-0211
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1097397 1163601 1163602 1163603 1163604 1165521
Blocks: 1096603
TreeView+ depends on / blocked
 
Reported: 2014-05-12 06:40 UTC by Huzaifa S. Sidhpurwala
Modified: 2019-09-29 13:17 UTC (History)
6 users (show)

Fixed In Version: libXfont 1.4.8, libXfont 1.4.99.901 (1.5.0rc1)
Doc Type: Bug Fix
Doc Text:
Multiple out-of-bounds write flaws were found in the way libXfont parsed replies received from an X.org font server. A malicious X.org server could cause an X client to crash or, possibly, execute arbitrary code with the privileges of the X.Org server.
Clone Of:
Environment:
Last Closed: 2014-11-25 07:47:09 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1870 normal SHIPPED_LIVE Important: libXfont security update 2014-11-18 16:41:52 UTC
Red Hat Product Errata RHSA-2014:1893 normal SHIPPED_LIVE Important: libXfont security update 2014-11-25 01:57:06 UTC

Description Huzaifa S. Sidhpurwala 2014-05-12 06:40:14 UTC
When parsing replies received from the font server, these calls do not check that their calculations for how much memory is needed to handle the returned data have not overflowed, so can result in allocating too little memory and then writing the returned data past the end of the allocated buffer.

Affected functions: fs_get_reply(), fs_alloc_glyphs(),
fs_read_extent_info()


Acknowledgements:

Red Hat would like to thank the X.org project for reporting this issue. Upstream acknowledges Ilja van Sprundel as the original reporter of this issue.

Comment 2 Vincent Danen 2014-05-13 17:44:52 UTC
Created libXfont tracking bugs for this issue:

Affects: fedora-all [bug 1097397]

Comment 3 Vincent Danen 2014-05-27 18:11:46 UTC
Statement:

(none)

Comment 4 Fedora Update System 2014-07-16 02:01:10 UTC
libXfont-1.4.8-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-07-23 03:01:32 UTC
libXfont-1.4.8-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 errata-xmlrpc 2014-11-18 11:42:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2014:1870 https://rhn.redhat.com/errata/RHSA-2014-1870.html

Comment 10 Martin Prpič 2014-11-19 08:18:19 UTC
IssueDescription:

Multiple out-of-bounds write flaws were found in the way libXfont parsed replies received from an X.org font server. A malicious X.org server could cause an X client to crash or, possibly, execute arbitrary code with the privileges of the X.Org server.

Comment 11 errata-xmlrpc 2014-11-24 20:57:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:1893 https://rhn.redhat.com/errata/RHSA-2014-1893.html


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