CVE-2017-12932
Description
ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-12932.html
Vendor advisory: cve@mitre.org — https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4
Vendor advisory: cve@mitre.org — https://bugs.php.net/bug.php?id=74103
Vendor advisory: cve@mitre.org — http://php.net/ChangeLog-7.php
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| php | php | 7.0.0 | |
| php | php | 7.0.1 | |
| php | php | 7.0.2 | |
| php | php | 7.0.3 | |
| php | php | 7.0.4 | |
| php | php | 7.0.5 | |
| php | php | 7.0.6 | |
| php | php | 7.0.7 | |
| php | php | 7.0.8 | |
| php | php | 7.0.9 | |
| php | php | 7.0.10 | |
| php | php | 7.0.11 | |
| php | php | 7.0.12 | |
| php | php | 7.0.13 | |
| php | php | 7.0.14 | |
| php | php | 7.0.15 | |
| php | php | 7.0.16 | |
| php | php | 7.0.17 | |
| php | php | 7.0.18 | |
| php | php | 7.0.19 | |
| php | php | 7.0.20 | |
| php | php | 7.0.21 | |
| php | php | 7.0.22 | |
| php | php | 7.1.0 | |
| php | php | 7.1.1 | |
| php | php | 7.1.2 | |
| php | php | 7.1.3 | |
| php | php | 7.1.4 | |
| php | php | 7.1.5 | |
| php | php | 7.1.6 | |
| php | php | 7.1.7 | |
| php | php | 7.1.8 | |
References
- http://php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/100427
- https://access.redhat.com/errata/RHSA-2018:1296
- https://access.redhat.com/errata/RHSA-2019:2519
- https://bugs.php.net/bug.php?id=74103
- https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4
- https://security.gentoo.org/glsa/201709-21
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.debian.org/security/2018/dsa-4080
- https://www.suse.com/security/cve/CVE-2017-12932.html
CWEs
CWE-416
Verify integrity in audit chain (admin only). AS-IS.