Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12811 - dev-php/php dev-php/mod_php
Summary: dev-php/php dev-php/mod_php
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-27 18:05 UTC by Daniel Ahlberg (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Daniel Ahlberg (RETIRED) gentoo-dev 2002-12-27 18:05:00 UTC
Buffer overflow in PHP "wordwrap" function 
 
From:  
"David F. Skoll" <dfs@roaringpenguin.com> 
 
 
To:  
bugtraq@securityfocus.com 
 
 
Date:  
Yesterday 22.43.44 
 
 
 
Message was signed with unknown key 0x13624131. 
The validity of the signature cannot be verified. 
 
 
There is a buffer overflow in PHP's built-in "wordwrap" function 
for PHP versions greater than 4.1.2 and less than 4.3.0. 
 
Please see http://bugs.php.net/bug.php?id=20927 for details. 
 
If you use the wordwrap() function on user-supplied input, a 
specially-crafted input can overflow the allocated buffer and 
overwrite the heap.  Exploit looks very difficult, but still 
theoretically possible. 
 
Status: 
 
Bug cause discovered: 10 Dec 2002 
PHP team notified:    10 Dec 2002 
Bug fixed in CVS:     12 Dec 2002 
PHP 4.3.0 released:   27 Dec 2002 
 
Kudos to the PHP team for their extremely rapid reaction. 
 
Recommendations: 
 
Don't upgrade from 4.1.2 if you are certain there are no security problems 
with your 4.1.2 setup and you may be vulnerable to the wordwrap() bug. 
 
Otherwise, upgrade to 4.3.0 
 
-- 
David F. Skoll 
 
Roaring Penguin Software Inc. | http://www.roaringpenguin.com 
GPG fingerprint: 58BB 6D86 6F6F 84D0 2C89  59D1 CD1C CAEE 1362 4131 
GPG public key:  http://www.roaringpenguin.com/dskoll-key-2003.txt ID: 13624131 
 
 
End of signed message
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-12-30 15:14:34 UTC
4.3.0 has been added to portage for testing.
Comment 2 Alessandro Pisani 2003-01-08 17:10:42 UTC
php 4.3.0 had been unmasked in portage, so I guess this can be closed...
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2003-01-17 04:56:08 UTC
glsa sent