The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200903-28 ] libpng: Multiple vulnerabilities


<< Previous INDEX Search src / Print Next >>
Date: Sun, 15 Mar 2009 19:42:50 +0100
From: Pierre-Yves Rofes <py@gentoo.org.>
To: gentoo-announce@gentoo.org
Subject: [ GLSA 200903-28 ] libpng: Multiple vulnerabilities
X-Enigmail-Version: 0.95.7
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="------------enigBC3E2534FAA91E9BFD6DCB02"
X-Virus-Scanned: antivirus-gw at tyumen.ru

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBC3E2534FAA91E9BFD6DCB02
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200903-28
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


  Severity: Normal
     Title: libpng: Multiple vulnerabilities
      Date: March 15, 2009
      Bugs: #244808, #255231, #259578
        ID: 200903-28

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


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

Multiple vulnerabilities were found in libpng, which might result in
the execution of arbitrary code

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.35                         >=3D 1.2.35


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

Multiple vulnerabilities were discovered in libpng:

* A memory leak bug was reported in png_handle_tEXt(), a function
  that is used while reading PNG images (CVE-2008-6218).


* A memory overwrite bug was reported by Jon Foster in
  png_check_keyword(), caused by writing overlong keywords to a PNG
  file (CVE-2008-5907).


* A memory corruption issue, caused by an incorrect handling of an
  out of memory condition has been reported by Tavis Ormandy of the
  Google Security Team. That vulnerability affects direct uses of
  png_read_png(), pCAL chunk and 16-bit gamma table handling
  (CVE-2009-0040).


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

A remote attacker may execute arbitrary code with the privileges of the
user opening a specially crafted PNG file by exploiting the erroneous
out-of-memory handling. An attacker may also exploit the
png_check_keyword() error to set arbitrary memory locations to 0, if
the application allows overlong, user-controlled keywords when writing
PNG files. The png_handle_tEXT() vulnerability may be exploited by an
attacker to potentially consume all memory on a users system when a
specially crafted PNG file is opened.

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.35"


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

  [ 1 ] CVE-2008-5907
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-5907
  [ 2 ] CVE-2008-6218
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-6218
  [ 3 ] CVE-2009-0040
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-0040

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-200903-28.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


--------------enigBC3E2534FAA91E9BFD6DCB02
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm9TCoACgkQuhJ+ozIKI5iMNACfcOaWkWgg2i9eQAsvsWh8dTaY
JucAnjZFF3daRSFUepZCfu34VPzhAXdm
=AWn2
-----END PGP SIGNATURE-----

--------------enigBC3E2534FAA91E9BFD6DCB02--


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру