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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-5334Double free vulnerability in the gnutls_x509_ext_import_prox…
- CVE-2017-5335The stream reading functions in lib/opencdk/read-packet.c in…
- CVE-2017-5336Stack-based buffer overflow in the cdk_pk_get_keyid function…
- CVE-2017-5337Multiple heap-based buffer overflows in the read_attribute f…
- CVE-2017-5338Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2017-5339Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2017-5341The OTV parser in tcpdump before 4.9.0 has a buffer overflow…
- CVE-2017-5342In tcpdump before 4.9.0, a bug in multiple protocol parsers …
- CVE-2017-5344An issue was discovered in dotCMS through 3.6.1. The findChi…
- CVE-2017-5345SQL injection vulnerability in inc/lib/Control/Ajax/tags-aja…
- CVE-2017-5346SQL injection vulnerability in inc/lib/Control/Backend/posts…
- CVE-2017-5347SQL injection vulnerability in inc/mod/newsletter/options.ph…
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
