Gentoo: libpng Information disclosure
Posted by Benjamin D. Thomas   
Gentoo =3D=3D=3D=3D=3D=3D=3D=3D A vulnerability has been discovered in libpng that allows for information disclosure.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200906-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Low
     Title: libpng: Information disclosure
      Date: June 27, 2009
      Bugs: #272970
        ID: 200906-01

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

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

A vulnerability has been discovered in libpng that allows for
information disclosure.

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

libpng is the official PNG reference library used to read, write and
manipulate PNG images.

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/libpng      < 1.2.37                         >=3D 1.2.37

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

Jeff Phillips discovered that libpng does not properly parse 1-bit
interlaced images with width values that are not divisible by 8, which
causes libpng to include uninitialized bits in certain rows of a PNG
file.

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

A remote attacker might entice a user to open a specially crafted PNG
file, possibly resulting in the disclosure of sensitive memory
portions.

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 libpng users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=3Dmedia-libs/libpng-1.2.37"

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

  [ 1 ] CVE-2009-2042
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-2042

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-200906-01.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