QID 355393

Date Published: 2023-06-14

QID 355393: Amazon Linux Security Advisory for python-pillow : ALAS2-2023-2083

Pillow before 2.7.0 allows remote attackers to cause a denial of service via a compressed text chunk in a png image that has a large size when it is decompressed. (
( CVE-2014-9601) pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "crafted image file" approach, related to an "insecure sign extension" issue affecting the imagingnew in storage.c component. (
( CVE-2016-9190) in pillow before 8.1.0, pcxdecode has a buffer over-read when decoding a crafted pcx file because the user-supplied stride value is trusted for buffer calculations. (
( CVE-2020-35653) an issue was discovered in pillow before 8.2.0.
For fli data, flidecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load. (
( CVE-2021-28676) an issue was discovered in pillow before 8.2.0.
For eps data, the readline implementation used in epsimagefile has to deal with any combination of \r and \n as line endings.
It used an accidentally quadratic method of accumulating lines while looking for a line ending.
A malicious eps file could use this to perform a dos of pillow in the open phase, before an image was accepted for opening. (
( CVE-2021-28677) pillow through 8.2.0 and pil (aka python imaging library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in convert.c. (
( CVE-2021-34552)

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 High - 7.5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-2083 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-2083 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-2083.html