QID 356081

QID 356081: Amazon Linux Security Advisory for Hypertext Preprocessor (PHP) : ALASPHP8.0-2023-005

In php versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress quines gzip files, resulting in an infinite loop. (
( CVE-2022-31628) in php versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a or cookie by php applications. (
( CVE-2022-31629)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALASPHP8.0-2023-005 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356081

    Software Advisories
    Advisory ID Software Component Link
    ALASPHP8.0-2023-005 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASPHP8.0-2023-005.html