Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: php 5.3.5
PostPosted: Thu Jan 06, 2011 8:50 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
Hi,
I read today that there is a bug affecting php where it could cause the system to go into an infinite loop if trying to convert certain strings to floating point values.
I also heard that there was a fix for it, php 5.3.5.
I tried running phpinfo() on my server, and it returned I was running php 5.3.31 ubuntu 9.
I would like to upgrade to php 5.3.5, but not sure if it's in the repositories for ubuntu 10.10 yet, or if it will be soon.
Thanks for any help,
-Michael.

_________________
http://mtgames.org/
"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.
"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
 Post subject: Re: php 5.3.5
PostPosted: Thu Jan 06, 2011 9:03 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
lilmike wrote:
Hi,
I read today that there is a bug affecting php where it could cause the system to go into an infinite loop if trying to convert certain strings to floating point values.
I also heard that there was a fix for it, php 5.3.5.
I tried running phpinfo() on my server, and it returned I was running php 5.3.31 ubuntu 9.
I would like to upgrade to php 5.3.5, but not sure if it's in the repositories for ubuntu 10.10 yet, or if it will be soon.
Thanks for any help,
-Michael.


I believe you mean "5.3.3-1ubuntu9"? (essentially some patched version of 5.3.3)

5.3.5 is not in the ubuntu repositories and it seems unlikely that 5.3.5 specifically ever will be there for 10.10.
However, I think it's pretty safe to assume that an update with the fix for that issue will arrive shortly.

(If things are done the usual way that would probably be known as "5.3.3-1ubuntu10" or something along those lines.)


Top
   
 Post subject:
PostPosted: Thu Jan 06, 2011 9:08 pm 
Offline
Junior Member

Joined: Tue Jul 13, 2010 8:28 pm
Posts: 28
You can follow the changelog at packages.ubuntu here: http://packages.ubuntu.com/maverick/php5

(there's a link 'Ubuntu Changelog' on the RHS)

I don't see any bug entry for this item in launchpad though. I have no idea if anything is working on this.


Top
   
 Post subject:
PostPosted: Thu Jan 06, 2011 9:11 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
sirpengi wrote:
You can follow the changelog at packages.ubuntu here: http://packages.ubuntu.com/maverick/php5

(there's a link 'Ubuntu Changelog' on the RHS)

I don't see any bug entry for this item in launchpad though. I have no idea if anything is working on this.


https://bugs.launchpad.net/ubuntu/+sour ... bug/697181

for the bug entry


Top
   
 Post subject:
PostPosted: Thu Jan 06, 2011 10:48 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
It usually takes a few days for these bug fixes to reach Debian, and then another day or two for Ubuntu. The version numbers will be different though. Run apt-get update && apt-get upgrade once in a while, and you'll get the bugfix sooner or later.


Top
   
 Post subject:
PostPosted: Thu Jan 06, 2011 11:15 pm 
Offline
Senior Member

Joined: Thu Nov 12, 2009 3:27 pm
Posts: 57
Website: http://www.mtgames.org/
WLM: ai5hf@hotmail.com
AOL: btakillermich11
Location: Baton Rouge, Louisiana
Thanks alot.
-Michael.

_________________
http://mtgames.org/

"A world that contained a creature as amazing as that bumblebee was a world he wanted to live in." -- Christopher Paolini, Brisingr.

"The songs of the dead are the lamentations of the living." -- Christopher Paolini, Eldest.


Top
   
 Post subject:
PostPosted: Thu Jan 06, 2011 11:32 pm 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
to test if your linode is vulnerable, rename this script to test.php, upload this script and execute via cli:
php test.php.
if it errors youre vulnerable

more info:
http://bugs.php.net/bug.php?id=53632

ps theres a fix available


Top
   
 Post subject:
PostPosted: Wed Jan 12, 2011 3:30 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
Just to follow this up, please see http://www.ubuntu.com/usn/usn-1042-1 for info on the recently released update for Ubuntu


Top
   
 Post subject:
PostPosted: Wed Jan 12, 2011 9:02 pm 
Offline
Senior Newbie

Joined: Wed Dec 29, 2010 5:39 pm
Posts: 12
today APT updated all my PHP packages (I'm running Ubuntu 10.10)... I guess that was the fix!

_________________
nope


Top
   
 Post subject:
PostPosted: Wed Jan 12, 2011 9:55 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Confirmed fixed:

Ubuntu 10.04 -- 5.3.2-1ubuntu4.6
Ubuntu 10.10 -- 5.3.3-1ubuntu9.2

Oddly, Debian doesn't seem to have released a fixed version for Lenny (5.0) yet. Squeeze (6.0) has fixed it, though. I know Squeeze is going to be baptized stable any day now, but it's odd.


Top
   
 Post subject:
PostPosted: Wed Jan 12, 2011 11:07 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Is lenny running php 5.2, I noticed my php 5.2 installation wasn't vulnerable but 5.3 was.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Thu Jan 13, 2011 2:40 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
obs wrote:
Is lenny running php 5.2, I noticed my php 5.2 installation wasn't vulnerable but 5.3 was.

Lenny has PHP 5.2.

But according to the PHP website, 5.2.16 was vulnerable so they had to release 5.2.17. This is the third time the PHP devs had to break their own word that 5.2 would receive no further updates.

Maybe one of the patches Debian made to PHP 5.2 makes it immune to the "2.2250738585072011e-308" bug? I don't have a Lenny box so I can't tell.


Top
   
 Post subject:
PostPosted: Thu Jan 13, 2011 3:10 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609315

That says that the problem could never be reproduced with the php version in Lenny, for whatever reason.


Top
   
 Post subject:
PostPosted: Thu Jan 13, 2011 11:32 am 
Offline
Senior Newbie

Joined: Wed Dec 29, 2010 5:39 pm
Posts: 12
FYI, today my PHP has been updated (again) to 5.3.3-1ubuntu9.3.

_________________
nope


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group