Integer Overflow or Wraparound Affecting php package, versions [,7.0.15)[7.1.0, 7.1.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
39.15% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PHP-2335589
  • published12 Jan 2022
  • disclosed11 Jan 2017
  • creditUnknown

Introduced: 11 Jan 2017

CVE-2017-5340  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade php to version 7.0.15, 7.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. 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

CVSS Scores

version 3.1