CVE-2017-12933
php: buffer over-read in finish_nested_data function
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).
Description
The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u11 |
| debian 8 | php5 | 5.6.33+dfsg-0+deb8u1 |
| debian 9 | php7.0 | 7.0.27-0+deb9u1 |
| Red Hat | php, php-bcmath, php-cli and 25 more | no fix listed |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.23 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.23 |
Show all 33 entries from 6 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u11 |
| debian 8 | php5 | 5.6.33+dfsg-0+deb8u1 |
| debian 9 | php7.0 | 7.0.27-0+deb9u1 |
| 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.23 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.23 |
References
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/99490
- https://access.redhat.com/errata/RHSA-2018:1296
- https://access.redhat.com/security/cve/CVE-2017-12933
- https://bugs.php.net/bug.php?id=74111
- https://nvd.nist.gov/vuln/detail/CVE-2017-12933
- https://ubuntu.com/security/notices/USN-3566-1