CVE-2015-8866
php: libxml_disable_entity_loader setting is shared between threads
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium), Red Hat (low).
Description
ext/libxml/libxml.c in PHP before 5.5.22 and 5.6.x before 5.6.6, when PHP-FPM is used, does not isolate each thread from libxml_disable_entity_loader changes in other threads, which allows remote attackers to conduct XML External Entity (XXE) and XML Entity Expansion (XEE) attacks via a crafted XML document, a related issue to CVE-2015-5161.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u3 |
| Red Hat | php, php-bcmath, php-cli and 25 more | no fix listed |
| ubuntu 12.04 | php5 | 5.3.10-1ubuntu3.22 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.16 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.16 |
Show all 32 entries from 5 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u3 |
| 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 12.04 | php5 | 5.3.10-1ubuntu3.22 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.16 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.16 |
References
- http://framework.zend.com/security/advisory/ZF2015-06%20-%3E%20Relation%20to%20CVE-2015-5161
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=de31324c221c1791b26350ba106cc26bad23ace9
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00031.html
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00033.html
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00056.html
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.openwall.com/lists/oss-security/2016/04/21/8
- http://www.openwall.com/lists/oss-security/2016/04/24/1
All 18 references
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/87470
- http://www.ubuntu.com/usn/USN-2952-1
- http://www.ubuntu.com/usn/USN-2952-2
- https://access.redhat.com/security/cve/CVE-2015-8866
- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1509817
- https://bugs.php.net/bug.php?id=64938
- https://nvd.nist.gov/vuln/detail/CVE-2015-8866
- https://ubuntu.com/security/notices/USN-2952-1
- https://www.cve.org/CVERecord?id=CVE-2015-8866