CVE-2017-5340
Description
Zend/zend_hash.c in PHP before 7.0.15 and 7.1.x before 7.1.1 mishandles certain cases that require large array allocations, which allows remote attackers to execute arbitrary code or cause a denial of service (integer overflow, uninitialized memory access, and use of arbitrary destructor function pointers) via crafted serialized data.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 7.1.1-0 | |
| sles | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| php | php | {"startIncluding":"7.0.0","endExcluding":"7.0.15"} | 7.0.15 |
| netapp | clustered_data_ontap | - | |
References
- https://security.archlinux.org/ASA-201701-28
- http://www.securityfocus.com/bid/95371
- http://www.securitytracker.com/id/1037659
- https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=73832
- https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.suse.com/security/cve/CVE-2017-5340.html
CWEs
CWE-190
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.