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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   FreeType Vendors:   freetype.org
(Red Hat Issues Fix) FreeType Buffer Overflows and Memory Errors Let Remote Users Deny Service and Execute Arbitrary Code
SecurityTracker Alert ID:  1026918
SecurityTracker URL:  http://securitytracker.com/id/1026918
CVE Reference:   CVE-2012-1126, CVE-2012-1127, CVE-2012-1128, CVE-2012-1129, CVE-2012-1130, CVE-2012-1131, CVE-2012-1132, CVE-2012-1133, CVE-2012-1134, CVE-2012-1135, CVE-2012-1136, CVE-2012-1137, CVE-2012-1138, CVE-2012-1139, CVE-2012-1140, CVE-2012-1141, CVE-2012-1142, CVE-2012-1143, CVE-2012-1144   (Links to External Site)
Date:  Apr 11 2012
Impact:   Denial of service via network, Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 2.4.9
Description:   Multiple vulnerabilities were reported in FreeType. A remote user can cause arbitrary code to be executed on the target user's system. A remote user can cause denial of service conditions.

A remote user can create a specially crafted font that, when loaded by the target user or application, will trigger a write buffer overflow and execute arbitrary code on the target system or a read buffer overflow and cause the target application to crash. The code will run with the privileges of the target user or application.

An out-of-bounds buffer read in parsing, adding, or validating properties in BDF fonts can cause denial of service conditions [CVE-2012-1126].

An out-of-bounds buffer read in parsing glyph information and bitmaps for BDF fontscan cause denial of service conditions [CVE-2012-1127].

A null pointer dereference in processing TrueType fonts can cause denial of service conditions [CVE-2012-1128].

An out-of-bounds buffer read in the parsing certain SFNT strings by Type42 font parser can cause denial of service conditions [CVE-2012-1129].

An out-of-bounds buffer read in loading properties of PCF fonts can cause denial of service conditions [CVE-2012-1130].

An out-of-bounds buffer read in reading cell data can cause denial of service conditions [CVE-2012-1131].

An out-of-bounds buffer read in parsing font dictionary entries can cause denial of service conditions [CVE-2012-1132].

A heap overflow in parsing BDF glyph information and bitmaps can cause code execution [CVE-2012-1133].

A heap overflow in retrieving a font's private dictionary can cause code execution [CVE-2012-1134].

An out-of-bounds buffer read in the TrueType bytecode interpreter when executing NPUSHB and NPUSHW instructions can cause denial of service conditions [CVE-2012-1135].

A heap overflow in parsing BDF glyph and bitmaps with missing ENCODING field can cause code execution [CVE-2012-1136].

An out-of-bounds buffer read in parsing BDF font header data can cause denial of service conditions [CVE-2012-1137].

An out-of-bounds buffer read in the TrueType bytecode interpreter when executing the MIRP instruction can cause denial of service conditions [CVE-2012-1138].

An array index error in parsing BDF font glyph information can cause denial of service conditions [CVE-2012-1139].

An out-of-bounds buffer read in converting PostScript font objects can cause denial of service conditions [CVE-2012-1140].

An out-of-bounds buffer read when converting an ASCII string into a signed short integer in BDF fonts can cause denial of service conditions [CVE-2012-1141].

A heap overflow in retrieving advance values for glyph outlines can cause code execution [CVE-2012-1142].

An integer divide-by-zero error can cause denial of service conditions [CVE-2012-1143].

A buffer overflow in the TrueType bytecode interpreter can cause code execution [CVE-2012-1144].

Mateusz Jurczyk, Google Security Team, reported these vulnerabilities.

Impact:   A remote user can create a file that, when loaded by the target user or application, will execute arbitrary code on the target system.

A remote user can cause denial of service conditions.

Solution:   Red Hat has issued a fix.

The Red Hat advisory is available at:

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

Vendor URL:  www.freetype.org/ (Links to External Site)
Cause:   Access control error, Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  5, 6

Message History:   This archive entry is a follow-up to the message listed below.
Mar 6 2012 FreeType Buffer Overflows and Memory Errors Let Remote Users Deny Service and Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2012:0467-01] Important: freetype security update

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

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

Synopsis:          Important: freetype security update
Advisory ID:       RHSA-2012:0467-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2012-0467.html
Issue date:        2012-04-10
CVE Names:         CVE-2012-1126 CVE-2012-1127 CVE-2012-1130 
                   CVE-2012-1131 CVE-2012-1132 CVE-2012-1134 
                   CVE-2012-1136 CVE-2012-1137 CVE-2012-1139 
                   CVE-2012-1140 CVE-2012-1141 CVE-2012-1142 
                   CVE-2012-1143 CVE-2012-1144 
=====================================================================

1. Summary:

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

The Red Hat Security Response Team has rated this update as having
important 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:

RHEL Desktop Workstation (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

3. Description:

FreeType is a free, high-quality, portable font engine that can open and
manage font files. It also loads, hints, and renders individual glyphs
efficiently.

Multiple flaws were found in the way FreeType handled TrueType Font (TTF),
Glyph Bitmap Distribution Format (BDF), Windows .fnt and .fon, and
PostScript Type 1 fonts. If a specially-crafted font file was loaded by an
application linked against FreeType, it could cause the application to
crash or, potentially, execute arbitrary code with the privileges of the
user running the application. (CVE-2012-1134, CVE-2012-1136, CVE-2012-1142,
CVE-2012-1144)

Multiple flaws were found in the way FreeType handled fonts in various
formats. If a specially-crafted font file was loaded by an application
linked against FreeType, it could cause the application to crash.
(CVE-2012-1126, CVE-2012-1127, CVE-2012-1130, CVE-2012-1131, CVE-2012-1132,
CVE-2012-1137, CVE-2012-1139, CVE-2012-1140, CVE-2012-1141, CVE-2012-1143)

Red Hat would like to thank Mateusz Jurczyk of the Google Security Team for
reporting these issues.

Users are advised to upgrade to these updated packages, which contain a
backported patch to correct these issues. The X server must be restarted
(log out, then log back in) for this update to take effect.

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/):

800581 - CVE-2012-1126 freetype: heap buffer over-read in BDF parsing _bdf_is_atom() (#35597, #35598)
800583 - CVE-2012-1127 freetype: heap buffer over-read in BDF parsing _bdf_parse_glyphs() (#35599, #35600)
800587 - CVE-2012-1130 freetype: heap buffer over-read in PCF parser pcf_get_properties() (#35603)
800589 - CVE-2012-1131 freetype: incorrect type cast allowing input sanity check bypass in ft_smooth_render_generic() (#35604)
800590 - CVE-2012-1132 freetype: heap buffer over-read in Type1 parser parse_subrs() (#35606)
800592 - CVE-2012-1134 freetype: limited heap buffer overflow in Type1 parser T1_Get_Private_Dict() (#35608)
800594 - CVE-2012-1136 freetype: uninitialized pointer use in BDF parser _bdf_parse_glyphs() (#35641)
800595 - CVE-2012-1137 freetype: heap buffer off-by-one in BDF parsing _bdf_list_ensure() (#35643)
800598 - CVE-2012-1139 freetype: data buffer underflow in BDF parser _bdf_parse_glyphs() (#35656)
800600 - CVE-2012-1140 freetype: multiple buffer over-read in PS parser conversion functions (#35657)
800602 - CVE-2012-1141 freetype: BDF parser _bdf_list_split() fails to properly initialize field array (#35658)
800604 - CVE-2012-1142 freetype: incorrect computation of number of glyphs in FNT_Face_Init() for FNT/FON files (#35659)
800606 - CVE-2012-1143 freetype: integer divide by zero in FT_DivFix() (#35660)
800607 - CVE-2012-1144 freetype: insufficient checking of first outline point in TTF parser (#35689)

6. Package List:

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

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/freetype-2.2.1-31.el5_8.1.src.rpm

i386:
freetype-2.2.1-31.el5_8.1.i386.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.i386.rpm

x86_64:
freetype-2.2.1-31.el5_8.1.i386.rpm
freetype-2.2.1-31.el5_8.1.x86_64.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.i386.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/freetype-2.2.1-31.el5_8.1.src.rpm

i386:
freetype-debuginfo-2.2.1-31.el5_8.1.i386.rpm
freetype-demos-2.2.1-31.el5_8.1.i386.rpm
freetype-devel-2.2.1-31.el5_8.1.i386.rpm

x86_64:
freetype-debuginfo-2.2.1-31.el5_8.1.i386.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.x86_64.rpm
freetype-demos-2.2.1-31.el5_8.1.x86_64.rpm
freetype-devel-2.2.1-31.el5_8.1.i386.rpm
freetype-devel-2.2.1-31.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/freetype-2.2.1-31.el5_8.1.src.rpm

i386:
freetype-2.2.1-31.el5_8.1.i386.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.i386.rpm
freetype-demos-2.2.1-31.el5_8.1.i386.rpm
freetype-devel-2.2.1-31.el5_8.1.i386.rpm

ia64:
freetype-2.2.1-31.el5_8.1.i386.rpm
freetype-2.2.1-31.el5_8.1.ia64.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.i386.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.ia64.rpm
freetype-demos-2.2.1-31.el5_8.1.ia64.rpm
freetype-devel-2.2.1-31.el5_8.1.ia64.rpm

ppc:
freetype-2.2.1-31.el5_8.1.ppc.rpm
freetype-2.2.1-31.el5_8.1.ppc64.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.ppc.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.ppc64.rpm
freetype-demos-2.2.1-31.el5_8.1.ppc.rpm
freetype-devel-2.2.1-31.el5_8.1.ppc.rpm
freetype-devel-2.2.1-31.el5_8.1.ppc64.rpm

s390x:
freetype-2.2.1-31.el5_8.1.s390.rpm
freetype-2.2.1-31.el5_8.1.s390x.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.s390.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.s390x.rpm
freetype-demos-2.2.1-31.el5_8.1.s390x.rpm
freetype-devel-2.2.1-31.el5_8.1.s390.rpm
freetype-devel-2.2.1-31.el5_8.1.s390x.rpm

x86_64:
freetype-2.2.1-31.el5_8.1.i386.rpm
freetype-2.2.1-31.el5_8.1.x86_64.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.i386.rpm
freetype-debuginfo-2.2.1-31.el5_8.1.x86_64.rpm
freetype-demos-2.2.1-31.el5_8.1.x86_64.rpm
freetype-devel-2.2.1-31.el5_8.1.i386.rpm
freetype-devel-2.2.1-31.el5_8.1.x86_64.rpm

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

i386:
freetype-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm

x86_64:
freetype-2.3.11-6.el6_2.9.i686.rpm
freetype-2.3.11-6.el6_2.9.x86_64.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

i386:
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-demos-2.3.11-6.el6_2.9.i686.rpm
freetype-devel-2.3.11-6.el6_2.9.i686.rpm

x86_64:
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm
freetype-demos-2.3.11-6.el6_2.9.x86_64.rpm
freetype-devel-2.3.11-6.el6_2.9.i686.rpm
freetype-devel-2.3.11-6.el6_2.9.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

x86_64:
freetype-2.3.11-6.el6_2.9.i686.rpm
freetype-2.3.11-6.el6_2.9.x86_64.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

x86_64:
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm
freetype-demos-2.3.11-6.el6_2.9.x86_64.rpm
freetype-devel-2.3.11-6.el6_2.9.i686.rpm
freetype-devel-2.3.11-6.el6_2.9.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

i386:
freetype-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-devel-2.3.11-6.el6_2.9.i686.rpm

ppc64:
freetype-2.3.11-6.el6_2.9.ppc.rpm
freetype-2.3.11-6.el6_2.9.ppc64.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.ppc.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.ppc64.rpm
freetype-devel-2.3.11-6.el6_2.9.ppc.rpm
freetype-devel-2.3.11-6.el6_2.9.ppc64.rpm

s390x:
freetype-2.3.11-6.el6_2.9.s390.rpm
freetype-2.3.11-6.el6_2.9.s390x.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.s390.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.s390x.rpm
freetype-devel-2.3.11-6.el6_2.9.s390.rpm
freetype-devel-2.3.11-6.el6_2.9.s390x.rpm

x86_64:
freetype-2.3.11-6.el6_2.9.i686.rpm
freetype-2.3.11-6.el6_2.9.x86_64.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm
freetype-devel-2.3.11-6.el6_2.9.i686.rpm
freetype-devel-2.3.11-6.el6_2.9.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

i386:
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-demos-2.3.11-6.el6_2.9.i686.rpm

ppc64:
freetype-debuginfo-2.3.11-6.el6_2.9.ppc64.rpm
freetype-demos-2.3.11-6.el6_2.9.ppc64.rpm

s390x:
freetype-debuginfo-2.3.11-6.el6_2.9.s390x.rpm
freetype-demos-2.3.11-6.el6_2.9.s390x.rpm

x86_64:
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm
freetype-demos-2.3.11-6.el6_2.9.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

i386:
freetype-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-devel-2.3.11-6.el6_2.9.i686.rpm

x86_64:
freetype-2.3.11-6.el6_2.9.i686.rpm
freetype-2.3.11-6.el6_2.9.x86_64.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm
freetype-devel-2.3.11-6.el6_2.9.i686.rpm
freetype-devel-2.3.11-6.el6_2.9.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/freetype-2.3.11-6.el6_2.9.src.rpm

i386:
freetype-debuginfo-2.3.11-6.el6_2.9.i686.rpm
freetype-demos-2.3.11-6.el6_2.9.i686.rpm

x86_64:
freetype-debuginfo-2.3.11-6.el6_2.9.x86_64.rpm
freetype-demos-2.3.11-6.el6_2.9.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-2012-1126.html
https://www.redhat.com/security/data/cve/CVE-2012-1127.html
https://www.redhat.com/security/data/cve/CVE-2012-1130.html
https://www.redhat.com/security/data/cve/CVE-2012-1131.html
https://www.redhat.com/security/data/cve/CVE-2012-1132.html
https://www.redhat.com/security/data/cve/CVE-2012-1134.html
https://www.redhat.com/security/data/cve/CVE-2012-1136.html
https://www.redhat.com/security/data/cve/CVE-2012-1137.html
https://www.redhat.com/security/data/cve/CVE-2012-1139.html
https://www.redhat.com/security/data/cve/CVE-2012-1140.html
https://www.redhat.com/security/data/cve/CVE-2012-1141.html
https://www.redhat.com/security/data/cve/CVE-2012-1142.html
https://www.redhat.com/security/data/cve/CVE-2012-1143.html
https://www.redhat.com/security/data/cve/CVE-2012-1144.html
https://access.redhat.com/security/updates/classification/#important

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)

iD8DBQFPhKO4XlSAg2UNWIIRAkYbAJ9xLRNSwoqaT/UmeEtaHCG0Ls2nnQCfQrVk
6uA4nbkNHr9Z6eYWCYbu0x4=
=hc+h
-----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