Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87517 - dev-php/php-4.3.11 includes security fixes
Summary: dev-php/php-4.3.11 includes security fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All All
: Highest minor (vote)
Assignee: Gentoo Security
URL: http://www.php.net/release_4_3_11.php
Whiteboard: B3 [glsa]
Keywords:
: 87574 88217 88625 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-31 23:57 UTC by Robin Johnson
Modified: 2007-06-24 23:33 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-31 23:57:47 UTC
I'm filing this bug mainly just to keep track of things while I'm busy (3 weeks of university left, so I'm too occupied to deal with it more myself), but I also want the opinion of the security team.

PHP-4.3.11 is out now, and upstream claims it fixes some security issues.
from looking at the detailed changelog, it seems that they are very minor, or are already dealt with (eg CURL will now respect open_basedir, which we print a warning about because upstream refused to fix it in the past).

I'm also concerned at some of the other bugfixes in this release, as to how they will affect the current state of PHP (it's not great, I know that).

With the agreement of the security team, I'd basically like to hold off on this update for 4 weeks (when I have more time) or until at least one of the other PHP maintainers has a lot more time on their hands (I believe Stuart is busy at the moment as well). This would enable more through checking of the changes.

Security: additionally, are you aware on any advisories for PHP?
Comment 1 Steffen Weber 2005-04-01 02:28:49 UTC
It
Comment 2 Steffen Weber 2005-04-01 02:28:49 UTC
It´s still your decision, but I think quiet a few people are looking forward to 4.3.11 because it fixes the unserialize() slowdown which has been introduced in 4.3.10. In some cases unserialize() is said to be 20x slower in 4.3.10 than in other versions and some bulletin boards seem to heavily rely upon that function.

References:
http://bugs.php.net/bug.php?id=31332
http://www.vbulletin.com/forum/showthread.php?t=127027
Comment 3 Thierry Carrez (RETIRED) gentoo-dev 2005-04-01 03:12:41 UTC
"... addresses several security issues inside the exif and fbsql extensions as well as the unserialize(), swf_definepoly() and getimagesize() functions."

Not much details. Without more (or a PHP advisory) I guess you can take your time. But I suspect the nature of the security fixes will surface soon, in which case 4 weeks will probably be a little too long delay.
Comment 4 Steffen Weber 2005-04-01 11:27:22 UTC
Relevant security advisory: http://www.idefense.com/application/poi/display?id=222&type=vulnerabilities&flashstatus=true
Comment 5 Thierry Carrez (RETIRED) gentoo-dev 2005-04-01 13:33:57 UTC
*** Bug 87574 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2005-04-06 17:57:50 UTC
*** Bug 88217 has been marked as a duplicate of this bug. ***
Comment 7 Thierry Carrez (RETIRED) gentoo-dev 2005-04-08 03:13:04 UTC
Anyone else from PHP herd feel like taking this one while Robin is not available ?
Comment 8 Tom Knight (RETIRED) gentoo-dev 2005-04-10 11:41:38 UTC
Stuart said he'd have a look at it.
Comment 9 Tom Knight (RETIRED) gentoo-dev 2005-04-10 11:42:22 UTC
*** Bug 88625 has been marked as a duplicate of this bug. ***
Comment 10 Tom Knight (RETIRED) gentoo-dev 2005-04-10 11:44:50 UTC
These fixes have also been applied to 5.0.4
Comment 11 Stuart Herbert (RETIRED) gentoo-dev 2005-04-10 14:44:27 UTC
All php5 packages are masked, so upgrading those isn't an urgent issue for us.

I've bumped the following packages, and marked them stable on x86:
- dev-php/php-4.3.11
- dev-php/mod_php-4.3.11
- dev-php/php-cgi-4.3.11

Best regards,
Stu
Comment 12 Thierry Carrez (RETIRED) gentoo-dev 2005-04-11 00:42:51 UTC
Thx super-Stu
Arches: please test and mark stable.

Security: please look if a GLSA is needed. This is essentially denial of service things coupled with a (better) curl basedir enforcement.
Comment 13 Markus Rothe (RETIRED) gentoo-dev 2005-04-11 04:38:37 UTC
stable on ppc64
Comment 14 Jason Wever (RETIRED) gentoo-dev 2005-04-11 07:19:57 UTC
mod_php pukes on a patch;

Calculating dependencies ...done!
>>> emerge (1 of 2) dev-php/mod_php-4.3.11 to /
>>> md5 src_uri ;-) php-4.3.11.tar.bz2
>>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch
>>> md5 src_uri ;-) php-4.3.6-includepath.diff
>>> Unpacking source...
 * Due to some previous bloopers with PHP and slotting, you may have
 * multiple instances of mod_php installed. Please look at the autoclean
 * output at the end of the emerge and unmerge all but relevant
 * instances.
 * Apache2 only detected
 * If you have both freetds and mssql in your USE flags, parts of PHP
 * may not behave correctly, or may give strange warnings. You have
 * been warned! It's recommended that you pick ONE of them. For sybase
 * support, chose 'freetds'. For mssql support choose 'mssql'.
>>> Unpacking php-4.3.11.tar.bz2 to /var/tmp/portage/mod_php-4.3.11/work
 * Applying stdint.diff ...

 * Failed Patch: stdint.diff !
 *  ( /usr/portage/dev-php/mod_php/files/stdint.diff )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/mod_php-4.3.11/temp/stdint.diff-11430.out


!!! ERROR: dev-php/mod_php-4.3.11 failed.
!!! Function epatch, Line 401, Exitcode 0
!!! Failed Patch: stdint.diff!
!!! If you need support, post the topmost build error, NOT this status message.

Comment 15 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-04-11 12:06:29 UTC
Stable on ppc.
Comment 16 Gustavo Zacarias (RETIRED) gentoo-dev 2005-04-11 13:16:48 UTC
sparc looks good, though i'd rather hold this a bit until the PEAR-* problems (like on bug #88683) are solved.
Note that this also affects other ARCHs, like on x86 on a server i have now horde/imp/others are b0rked because of this. This is because the php 4.3.11 ebuild doesn't include PEAR-DB and the ebuild for PEAR-DB doesn't work with php 4.3.11 correctly.
Comment 17 Gustavo Zacarias (RETIRED) gentoo-dev 2005-04-13 17:27:41 UTC
Stable on sparc since you're basically waiting on us.
I'm not too happy about PEAR* stuff being broken, it should have been solved before going all stable with this. But since x86 is already stable i'll just pile up user complaints in the currently existing bugs for this.
Comment 18 Thierry Carrez (RETIRED) gentoo-dev 2005-04-14 01:05:38 UTC
mod_php and php-cgi should also be marked stable:

dev-php/php-4.3.11 still misses: alpha hppa ia64 mips s390
>=dev-php/mod_php-4.3.11 still misses: alpha amd64 hppa ia64 mips s390
dev-php/php-cgi-4.3.11 still misses: alpha amd64 hppa ia64 mips
Comment 19 Bryan Østergaard (RETIRED) gentoo-dev 2005-04-14 05:03:20 UTC
Alpha stable.
Comment 20 Simon Stelling (RETIRED) gentoo-dev 2005-04-14 12:04:16 UTC
amd64 stable
Comment 21 Bryan Østergaard (RETIRED) gentoo-dev 2005-04-14 15:25:10 UTC
Stable on ia64.
Comment 22 Thierry Carrez (RETIRED) gentoo-dev 2005-04-15 01:11:41 UTC
Security: Please vote on GLSA need. I tend to vote YES.
Comment 23 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-04-15 01:36:48 UTC
I vote YES.
Comment 24 Thierry Carrez (RETIRED) gentoo-dev 2005-04-18 04:37:43 UTC
GLSA 200504-15
hppa, mips, s390: please mark stable to benefit from GLSA
Comment 25 René Nussbaumer (RETIRED) gentoo-dev 2005-06-26 07:28:36 UTC
Already stable on hppa
Comment 26 Hardave Riar (RETIRED) gentoo-dev 2005-07-07 22:45:05 UTC
Stable on mips.