QID 355068

Date Published: 2023-05-18

QID 355068: Amazon Linux Security Advisory for libXpm : AL2012-2023-392

Package updates are available for Amazon Linux that fix the following vulnerabilities:
CVE-2022-4883:
A flaw was found in libXpm. When processing files with .Z or .gz extensions, the library calls external programs to compress and uncompress files, relying on the PATH environment variable to find these programs, which could allow a malicious user to execute other programs by manipulating the PATH environment variable. 2160213: CVE-2022-4883 libXpm: compression commands depend on $PATH CVE-2022-46285:
A flaw was found in libXpm. This issue occurs when parsing a file with a comment not closed; the end-of-file condition will not be detected, leading to an infinite loop and resulting in a Denial of Service in the application linked to the library. 2160092: CVE-2022-46285 libXpm: Infinite loop on unclosed comments CVE-2022-44617:
A flaw was found in libXpm. When processing a file with width of 0 and a very large height, some parser functions will be called repeatedly and can lead to an infinite loop, resulting in a Denial of Service in the application linked to the library. 2160193: CVE-2022-44617 libXpm: Runaway loop on width of 0 and enormous height

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

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Administrators are advised to apply the appropriate software updates.
    Vendor References

    CVEs related to QID 355068

    Software Advisories
    Advisory ID Software Component Link
    AL2012-2023-392 Amazon Linux Bare Metal URL Logo docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-updates.html