Use After Free Affecting php70-process package, versions <0:7.0.16-1.21.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
41.67% (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-AMZN201803-PHP70PROCESS-1705781
  • published27 Sept 2021
  • disclosed12 Jan 2017

Introduced: 12 Jan 2017

CVE-2016-7479  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php70-process to version 0:7.0.16-1.21.amzn1 or higher.
This issue was patched in ALAS-2017-812.

NVD Description

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

In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.