CVE-2017-11147
php: Out-of-bounds read in phar_parse_pharfile
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).
Description
In PHP before 5.6.30 and 7.x before 7.0.15, the PHAR archive handler could be used by attackers supplying malicious archive files to crash the PHP interpreter or potentially disclose information due to a buffer over-read in the phar_parse_pharfile function in ext/phar/phar.c.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u9 |
| debian 8 | php5 | 5.6.30+dfsg-0+deb8u1 |
| Red Hat | php, php-bcmath, php-cli and 25 more | no fix listed |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.22 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.22 |
Show all 32 entries from 5 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u9 |
| debian 8 | php5 | 5.6.30+dfsg-0+deb8u1 |
| Red Hat | php | no fix listed |
| Red Hat | php-bcmath | no fix listed |
| Red Hat | php-cli | no fix listed |
| Red Hat | php-common | no fix listed |
| Red Hat | php-dba | no fix listed |
| Red Hat | php-devel | no fix listed |
| Red Hat | php-embedded | no fix listed |
| Red Hat | php-enchant | no fix listed |
| Red Hat | php-fpm | no fix listed |
| Red Hat | php-gd | no fix listed |
| Red Hat | php-imap | no fix listed |
| Red Hat | php-intl | no fix listed |
| Red Hat | php-ldap | no fix listed |
| Red Hat | php-mbstring | no fix listed |
| Red Hat | php-mysql | no fix listed |
| Red Hat | php-mysqlnd | no fix listed |
| Red Hat | php-odbc | no fix listed |
| Red Hat | php-pdo | no fix listed |
| Red Hat | php-pgsql | no fix listed |
| Red Hat | php-process | no fix listed |
| Red Hat | php-pspell | no fix listed |
| Red Hat | php-recode | no fix listed |
| Red Hat | php-snmp | no fix listed |
| Red Hat | php-soap | no fix listed |
| Red Hat | php-tidy | no fix listed |
| Red Hat | php-xml | no fix listed |
| Red Hat | php-xmlrpc | no fix listed |
| Red Hat | php-zts | no fix listed |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.22 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.22 |
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=e5246580a85f031e1a3b8064edbaa55c1643a451
- http://openwall.com/lists/oss-security/2017/07/10/6
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/99607
- https://access.redhat.com/errata/RHSA-2018:1296
- https://access.redhat.com/security/cve/CVE-2017-11147
- https://bugs.php.net/bug.php?id=73773