Gentoo 2510 Published by

A new security update has been released for Gentoo Linux - PHP: Multiple vulnerabilities. Here the announcement:



Gentoo Linux Security Advisory GLSA 200605-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: PHP: Multiple vulnerabilities
Date: May 08, 2006
Bugs: #127939, #128883, #131135
ID: 200605-08

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

Synopsis
========

PHP is affected by multiple issues, including a buffer overflow in
wordwrap() which may lead to execution of arbitrary code.

Background
==========

PHP is a widely-used general-purpose scripting language that is
especially suited for Web development and can be embedded into HTML.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/php < 5.1.4 >= 5.1.4
*>= 4.4.2-r2

Description
===========

Several vulnerabilities were discovered on PHP4 and PHP5 by Infigo,
Tonu Samuel and Maksymilian Arciemowicz. These included a buffer
overflow in the wordwrap() function, restriction bypasses in the copy()
and tempname() functions, a cross-site scripting issue in the phpinfo()
function, a potential crash in the substr_compare() function and a
memory leak in the non-binary-safe html_entity_decode() function.

Impact
======

Remote attackers might be able to exploit these issues in PHP
applications making use of the affected functions, potentially
resulting in the execution of arbitrary code, Denial of Service,
execution of scripted contents in the context of the affected site,
security bypass or information leak.

Workaround
==========

There is no known workaround at this point.

Resolution
==========

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.4"

PHP4 users that wish to keep that version line should upgrade to the
latest 4.x version:

# emerge --sync
# emerge --ask --oneshot --verbose =dev-lang/php-4.4.2-r2

References
==========

[ 1 ] CVE-2006-0996
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0996
[ 2 ] CVE-2006-1490
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1490
[ 3 ] CVE-2006-1990
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1990
[ 4 ] CVE-2006-1991
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1991

Availability
============

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

http://security.gentoo.org/glsa/glsa-200605-08.xml

Concerns?
=========

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
=======

Copyright 2006 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