Use After Free Affecting php56-cli package, versions <0:5.6.14-1.119.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
9.01% (95th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-PHP56CLI-1690556
  • published27 Sept 2021
  • disclosed16 May 2016

Introduced: 16 May 2016

CVE-2015-6835  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php56-cli to version 0:5.6.14-1.119.amzn1 or higher.
This issue was patched in ALAS-2015-601.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php56-cli package and not the php56-cli package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The session deserializer in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 mishandles multiple php_var_unserialize calls, which allow remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via crafted session content.

CVSS Scores

version 3.1