CVE-2016-7480
php: Use of uninitialized value in SplObjectStorag::unserialize
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Amazon (medium).
Description
The SplObjectStorage unserialize implementation in ext/spl/spl_observer.c in PHP before 7.0.12 does not verify that a key is an object, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access) via crafted serialized data.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | php70, php70-bcmath, php70-cli and 31 more | 7.0.14-1.20.amzn1 |
| Red Hat | php, php-bcmath, php-cli and 85 more | no fix listed |
Show all 122 entries from 2 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | php70 | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-bcmath | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-cli | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-common | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-dba | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-dbg | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-debuginfo | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-devel | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-embedded | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-enchant | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-fpm | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-gd | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-gmp | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-imap | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-intl | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-json | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-ldap | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-mbstring | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-mcrypt | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-mysqlnd | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-odbc | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-opcache | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-pdo | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-pdo-dblib | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-pgsql | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-process | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-pspell | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-recode | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-snmp | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-soap | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-tidy | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-xml | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-xmlrpc | 7.0.14-1.20.amzn1 |
| amazon linux 1 | php70-zip | 7.0.14-1.20.amzn1 |
| 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 | 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 |
References
- http://blog.checkpoint.com/2016/12/27/check-point-discovers-three-zero-day-vulnerabilities-web-programming-language-php-7
- http://blog.checkpoint.com/2016/12/27/check-point-discovers-three-zero-day-vulnerabilities-web-programming-language-php-7/
- http://blog.checkpoint.com/wp-content/uploads/2016/12/PHP_Technical_Report.pdf
- http://php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/95152
- https://access.redhat.com/security/cve/CVE-2016-7480
- https://bugs.php.net/bug.php?id=73257
- https://github.com/php/php-src/commit/61cdd1255d5b9c8453be71aacbbf682796ac77d4