CVE-2016-9138
php: Use after free in unserialize() via DateInterval::__wakeup()
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (low).
Description
PHP through 5.6.27 and 7.x through 7.0.12 mishandles property modification during __wakeup processing, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data, as demonstrated by Exception::__toString with DateInterval::__wakeup.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 8 | php5 | 5.6.28+dfsg-0+deb8u1 |
| Red Hat | php, php-bcmath, php-cli and 137 more | no fix listed |
| ubuntu 18.04-ESM | php7.2 | no fix listed |
Show all 142 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 8 | php5 | 5.6.28+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 |
| Red Hat | php54-php | no fix listed |
| Red Hat | php54-php-bcmath | no fix listed |
| Red Hat | php54-php-cli | no fix listed |
| Red Hat | php54-php-common | no fix listed |
| Red Hat | php54-php-dba | no fix listed |
| Red Hat | php54-php-devel | no fix listed |
| Red Hat | php54-php-enchant | no fix listed |
| Red Hat | php54-php-fpm | no fix listed |
| Red Hat | php54-php-gd | no fix listed |
| Red Hat | php54-php-imap | no fix listed |
| Red Hat | php54-php-intl | no fix listed |
| Red Hat | php54-php-ldap | no fix listed |
| Red Hat | php54-php-mbstring | no fix listed |
| Red Hat | php54-php-mysqlnd | no fix listed |
| Red Hat | php54-php-odbc | no fix listed |
| Red Hat | php54-php-pdo | no fix listed |
| Red Hat | php54-php-pgsql | no fix listed |
| Red Hat | php54-php-process | no fix listed |
| Red Hat | php54-php-pspell | no fix listed |
| Red Hat | php54-php-recode | no fix listed |
| Red Hat | php54-php-snmp | no fix listed |
| Red Hat | php54-php-soap | no fix listed |
| Red Hat | php54-php-tidy | no fix listed |
| Red Hat | php54-php-xml | no fix listed |
| Red Hat | php54-php-xmlrpc | no fix listed |
| Red Hat | php55-php | no fix listed |
| Red Hat | php55-php-bcmath | no fix listed |
| Red Hat | php55-php-cli | no fix listed |
| Red Hat | php55-php-common | no fix listed |
| Red Hat | php55-php-dba | no fix listed |
| Red Hat | php55-php-devel | no fix listed |
| Red Hat | php55-php-enchant | no fix listed |
| Red Hat | php55-php-fpm | no fix listed |
| Red Hat | php55-php-gd | no fix listed |
| Red Hat | php55-php-gmp | no fix listed |
| Red Hat | php55-php-imap | no fix listed |
| Red Hat | php55-php-intl | no fix listed |
| Red Hat | php55-php-ldap | no fix listed |
| Red Hat | php55-php-mbstring | no fix listed |
| Red Hat | php55-php-mysqlnd | no fix listed |
| Red Hat | php55-php-odbc | no fix listed |
| Red Hat | php55-php-opcache | no fix listed |
| Red Hat | php55-php-pdo | no fix listed |
| Red Hat | php55-php-pgsql | no fix listed |
| Red Hat | php55-php-process | no fix listed |
| Red Hat | php55-php-pspell | no fix listed |
| Red Hat | php55-php-recode | no fix listed |
| Red Hat | php55-php-snmp | no fix listed |
| Red Hat | php55-php-soap | no fix listed |
| Red Hat | php55-php-tidy | no fix listed |
| Red Hat | php55-php-xml | no fix listed |
| Red Hat | php55-php-xmlrpc | no fix listed |
| Red Hat | rh-php56-php | no fix listed |
| Red Hat | rh-php56-php-bcmath | no fix listed |
| Red Hat | rh-php56-php-cli | no fix listed |
| Red Hat | rh-php56-php-common | no fix listed |
| Red Hat | rh-php56-php-dba | no fix listed |
| Red Hat | rh-php56-php-dbg | no fix listed |
| Red Hat | rh-php56-php-devel | no fix listed |
| Red Hat | rh-php56-php-embedded | no fix listed |
| Red Hat | rh-php56-php-enchant | no fix listed |
| Red Hat | rh-php56-php-fpm | no fix listed |
| Red Hat | rh-php56-php-gd | no fix listed |
| Red Hat | rh-php56-php-gmp | no fix listed |
| Red Hat | rh-php56-php-imap | no fix listed |
| Red Hat | rh-php56-php-intl | no fix listed |
| Red Hat | rh-php56-php-ldap | no fix listed |
| Red Hat | rh-php56-php-mbstring | no fix listed |
| Red Hat | rh-php56-php-mysqlnd | no fix listed |
| Red Hat | rh-php56-php-odbc | no fix listed |
| Red Hat | rh-php56-php-opcache | no fix listed |
| Red Hat | rh-php56-php-pdo | no fix listed |
| Red Hat | rh-php56-php-pgsql | no fix listed |
| Red Hat | rh-php56-php-process | no fix listed |
| Red Hat | rh-php56-php-pspell | no fix listed |
| Red Hat | rh-php56-php-recode | no fix listed |
| Red Hat | rh-php56-php-snmp | no fix listed |
| Red Hat | rh-php56-php-soap | no fix listed |
| Red Hat | rh-php56-php-tidy | no fix listed |
| Red Hat | rh-php56-php-xml | no fix listed |
| Red Hat | rh-php56-php-xmlrpc | no fix listed |
| Red Hat | rh-php70-php | no fix listed |
| Red Hat | rh-php70-php-bcmath | no fix listed |
| Red Hat | rh-php70-php-cli | no fix listed |
| Red Hat | rh-php70-php-common | no fix listed |
| Red Hat | rh-php70-php-dba | no fix listed |
| Red Hat | rh-php70-php-dbg | no fix listed |
| Red Hat | rh-php70-php-devel | no fix listed |
| Red Hat | rh-php70-php-embedded | no fix listed |
| Red Hat | rh-php70-php-enchant | no fix listed |
| Red Hat | rh-php70-php-fpm | no fix listed |
| Red Hat | rh-php70-php-gd | no fix listed |
| Red Hat | rh-php70-php-gmp | no fix listed |
| Red Hat | rh-php70-php-imap | no fix listed |
| Red Hat | rh-php70-php-intl | no fix listed |
| Red Hat | rh-php70-php-json | no fix listed |
| Red Hat | rh-php70-php-ldap | no fix listed |
| Red Hat | rh-php70-php-mbstring | no fix listed |
| Red Hat | rh-php70-php-mysqlnd | no fix listed |
| Red Hat | rh-php70-php-odbc | no fix listed |
| Red Hat | rh-php70-php-opcache | no fix listed |
| Red Hat | rh-php70-php-pdo | no fix listed |
| Red Hat | rh-php70-php-pgsql | no fix listed |
| Red Hat | rh-php70-php-process | no fix listed |
| Red Hat | rh-php70-php-pspell | no fix listed |
| Red Hat | rh-php70-php-recode | no fix listed |
| Red Hat | rh-php70-php-snmp | no fix listed |
| Red Hat | rh-php70-php-soap | no fix listed |
| Red Hat | rh-php70-php-tidy | no fix listed |
| Red Hat | rh-php70-php-xml | no fix listed |
| Red Hat | rh-php70-php-xmlrpc | no fix listed |
| Red Hat | rh-php70-php-zip | no fix listed |
| ubuntu 18.04-ESM | php7.2 | no fix listed |
References
- http://git.php.net/?p=php-src.git;a=commitdiff;h=0e6fe3a4c96be2d3e88389a5776f878021b4c59f;hp=e1709b7e588cbda71c577f6e5b701713d0c70a23
- http://www.openwall.com/lists/oss-security/2016/11/01/2
- http://www.openwall.com/lists/oss-security/2016/11/01/7
- http://www.securityfocus.com/bid/95268
- https://access.redhat.com/security/cve/CVE-2016-9138
- https://bugs.php.net/bug.php?id=73147
- https://github.com/php/php-src/commit/0e6fe3a4c96be2d3e88389a5776f878021b4c59f
- https://nvd.nist.gov/vuln/detail/CVE-2016-9138