Arbitrary Code Execution Affecting php package, versions [,5.4.37)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
42.59% (99th 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-2335664
  • published12 Jan 2022
  • disclosed27 Jan 2015
  • creditUnknown

Introduced: 27 Jan 2015

CVE-2015-0231  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade php to version 5.4.37 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate numerical keys within the serialized properties of an object. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-8142.

CVSS Base Scores

version 3.1