Out-of-Bounds Affecting php package, versions [4.0.0,4.4.5)[5.0.0,5.2.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.85% (83rd 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-2335075
  • published12 Jan 2022
  • disclosed20 Feb 2007
  • creditUnknown

Introduced: 20 Feb 2007

CVE-2007-0988  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade php to version 4.4.5, 5.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent attackers to cause a denial of service (infinite loop) by unserializing certain integer expressions, which only cause 32-bit arguments to be used after the check for a negative value, as demonstrated by an "a:2147483649:{" argument.

CVSS Scores

version 3.1