It was reported that when phar_parse_tarfile() entry filename starts with NULL, this may lead to a single byte memory corruption. Upstream report: https://bugs.php.net/bug.php?id=69453 Upstream fix: http://git.php.net/?p=php-src.git;a=commitdiff;h=c27f012b7a447e59d4a704688971cbfa7dddaa74 http://git.php.net/?p=php-src.git;a=commitdiff;h=e2bbf0a2df2cd864fa86d613eb316b249811a6f6 CVE request: http://seclists.org/oss-sec/2015/q2/479
Created php tracking bugs for this issue: Affects: fedora-all [bug 1223447]
php-5.6.9-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
php-5.6.9-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
php-5.5.25-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
If file name of a file in PHAR archive is empty, it causes out-of-bounds read. Depending on platform, this out of bounds read may be likely to cause crash (e.g. on 64 bit platforms). If the accessed memory is mapped and contains '/', it is overwritten with '\0' and file name length counter is decremented. This may lead to further out of bounds accesses. This issue should only be relevant in use case where Phar archives are opened / inspected, but no code is run from them. Expected use of Phar archives is provide a single file bundle containing PHP application or library, and hence need to be fully trusted as code from archives is executed.
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2015:1135 https://rhn.redhat.com/errata/RHSA-2015-1135.html
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS Via RHSA-2015:1186 https://rhn.redhat.com/errata/RHSA-2015-1186.html
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS Via RHSA-2015:1187 https://rhn.redhat.com/errata/RHSA-2015-1187.html
This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Via RHSA-2015:1218 https://rhn.redhat.com/errata/RHSA-2015-1218.html
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS Via RHSA-2015:1219 https://rhn.redhat.com/errata/RHSA-2015-1219.html