Gentoo: LittleCMS Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo =3D=3D=3D=3D=3D=3D=3D=3D Multiple errors in LittleCMS allow for attacks including the remote execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200904-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: LittleCMS: Multiple vulnerabilities
      Date: April 19, 2009
      Bugs: #260269, #264604
        ID: 200904-19

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Multiple errors in LittleCMS allow for attacks including the remote
execution of arbitrary code.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

LittleCMS, or short lcms, is a color management system for working with
ICC profiles. It is used by many applications including GIMP and
Firefox.

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    -------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  media-libs/lcms      < 1.18-r1                         >=3D 1.18-r1

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

RedHat reported a null-pointer dereference flaw while processing
monochrome ICC profiles (CVE-2009-0793).

Chris Evans of Google discovered the following vulnerabilities:

* LittleCMS contains severe memory leaks (CVE-2009-0581).

* LittleCMS is prone to multiple integer overflows, leading to a
  heap-based buffer overflow (CVE-2009-0723).

* The ReadSetOfCurves() function is vulnerable to stack-based buffer
  overflows when called from code paths without a bounds check on
  channel counts (CVE-2009-0733).

Impact
=3D=3D=3D=3D=3D=3D

A remote attacker could entice a user or automated system to open a
specially crafted file containing a malicious ICC profile, possibly
resulting in the execution of arbitrary code with the privileges of the
user running the application or memory exhaustion, leading to a Denial
of Service condition.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All LittleCMS users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dmedia-libs/lcms-1.18-r1"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  [ 1 ] CVE-2009-0581
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-0581
  [ 2 ] CVE-2009-0723
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-0723
  [ 3 ] CVE-2009-0733
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-0733
  [ 4 ] CVE-2009-0793
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-0793

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200904-19.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=3D=3D=3D=3D=3D=3D=3D

Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5