QID 356091

QID 356091: Amazon Linux Security Advisory for Hypertext Preprocessor (PHP) : ALAS2PHP8.0-2023-004

In php versions prior to 7.4.33, 8.0.25 and 8.2.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used.
This can lead to crashes or disclosure of confidential information. (
( CVE-2022-31630) the keccak xkcp sha-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties.
This occurs in the sponge function interface. (
( CVE-2022-37454)



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 Critical - 9.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALASPHP8.0-2023-004 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356091

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