CVE-2017-5340
Last modified
CVE-2017-5340 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 16.69% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 7.0.0, < 7.0.15 |
| Php | Php | >= 7.1.0, < 7.1.1 |
| Netapp | Clustered Data Ontap | All versions |
References
- http://www.securityfocus.com/bid/95371Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037659Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296Third Party Advisory
- https://bugs.php.net/bug.php?id=73832Exploit, Issue Tracking, VDB Entry, Vendor Advisory
- https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180112-0001/Third Party Advisory
- http://www.securityfocus.com/bid/95371Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037659Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296Third Party Advisory
- https://bugs.php.net/bug.php?id=73832Exploit, Issue Tracking, VDB Entry, Vendor Advisory
- https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180112-0001/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-5340?
How severe is CVE-2017-5340?
How do I fix CVE-2017-5340?
Are you affected by CVE-2017-5340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
