Red Hat Bugzilla – Bug 494531
CVE-2009-1272 php: crash when extracting zip file with relative paths
Last modified: 2009-06-16 03:05:31 EDT
PHP 5.2.9 upstream release notes mention following security fix:
Fixed a crash on extract in zip when files or directories entry names
contain a relative path. (Pierre)
Note: This fix is related to CVE-2008-5658, as the checking was only introduced as part of that patch.
Just noting that CVE-2008-5658 is bug 474824.
The php_zip_make_relative_path function in php_zip.c in PHP 5.2.x
before 5.2.9 allows context-dependent attackers to cause a denial of
service (crash) via a ZIP file that contains filenames with relative
paths, which is not properly handled during extraction.
Proper fix for CVE-2008-5658 was used in Red Hat Applications Stacks v2 updates. PHP packages in Red Hat Enterprise Linux 2.1, 3, 4, and 5, and Red Hat Applications Stacks v1 were not affected by this flaw.
All Fedora versions are updated to 5.2.9 now.