PHP vulnerability CVE-2024-4577 in FileCloud Community AMI

AMI from AWS marketplace reported the following issue:
CVE-2024-4577:

The vulnerability CVE-2024-4577 in PHP is caused by improper handling of character encoding conversions when PHP is used in CGI mode. In this mode, the web server parses HTTP requests and forwards them to a PHP script for processing.

Recommendation:

  1. Apply the vendor-supplied Patches or upgrade to a non-vulnerable version.
  2. To fix CVE-2024-4577 it is crucial to take immediate action by following these steps with necessary measures to mitigate this vulnerability:

· Update PHP

· Disable PHP in CGI mode

· Implement temporary mitigations