Amazon Linux 2 : python-pillow (ALAS-2023-2105)

medium Nessus Plugin ID 177868

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of python-pillow installed on the remote host is prior to 2.0.0-23.gitd1c6db8. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2023-2105 advisory.

- 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)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update python-pillow' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2105.html

https://alas.aws.amazon.com/cve/html/CVE-2021-28675.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 177868

File Name: al2_ALAS-2023-2105.nasl

Version: 1.0

Type: local

Agent: unix

Published: 7/1/2023

Updated: 7/1/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-28675

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:python-pillow-sane, p-cpe:/a:amazon:linux:python-pillow-devel, p-cpe:/a:amazon:linux:python-pillow, p-cpe:/a:amazon:linux:python-pillow-tk, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:python-pillow-debuginfo, p-cpe:/a:amazon:linux:python-pillow-doc

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 6/21/2023

Vulnerability Publication Date: 6/2/2021

Reference Information

CVE: CVE-2021-28675