CVE-2017-5340

HIGH

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.

References

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/

Details

Source: MITRE

Published: 2017-01-11

Updated: 2018-05-04

Type: CWE-190

Risk Information

CVSS v2.0

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3.0

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL