Out-of-Bounds Affecting php55-fpm package, versions <0:5.5.35-1.114.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.4% (74th 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-PHP55FPM-1696787
  • published27 Sept 2021
  • disclosed20 May 2016

Introduced: 20 May 2016

CVE-2015-8865  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php55-fpm to version 0:5.5.35-1.114.amzn1 or higher.
This issue was patched in ALAS-2016-698.

NVD Description

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

The file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo component in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5, mishandles continuation-level jumps, which allows context-dependent attackers to cause a denial of service (buffer overflow and application crash) or possibly execute arbitrary code via a crafted magic file.