ALAS2-2023-2105

Related Vulnerabilities: CVE-2021-28675  

An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load. (CVE-2021-28675)

ALAS2-2023-2105


Amazon Linux 2 Security Advisory: ALAS-2023-2105
Advisory Release Date: 2023-06-21 19:11 Pacific
Advisory Updated Date: 2023-06-29 19:46 Pacific
Severity: Medium

Issue Overview:

An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load. (CVE-2021-28675)


Affected Packages:

python-pillow


Issue Correction:
Run yum update python-pillow to update your system.

New Packages:
aarch64:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.6.aarch64
    python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.6.aarch64
    python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.6.aarch64
    python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.6.aarch64
    python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.6.aarch64
    python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.6.aarch64

i686:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.6.i686
    python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.6.i686
    python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.6.i686
    python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.6.i686
    python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.6.i686
    python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.6.i686

src:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.6.src

x86_64:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.6.x86_64
    python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.6.x86_64
    python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.6.x86_64
    python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.6.x86_64
    python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.6.x86_64
    python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.6.x86_64