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

critical Nessus Plugin ID 182639

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 multiple vulnerabilities as referenced in the ALAS2-2023-2286 advisory.

The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3) load function in IptcImagePlugin.py, and (4) _copy function in Image.py in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 do not properly create temporary files, which allow local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on the temporary file.
(CVE-2014-1932)

The (1) JpegImagePlugin.py and (2) EpsImagePlugin.py scripts in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 uses the names of temporary files on the command line, which makes it easier for local users to conduct symlink attacks by listing the processes. (CVE-2014-1933)

Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors related to CVE-2014-1932, possibly JpegImagePlugin.py. (CVE-2014-3007)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues 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-2286.html

https://alas.aws.amazon.com/cve/html/CVE-2014-1932.html

https://alas.aws.amazon.com/cve/html/CVE-2014-1933.html

https://alas.aws.amazon.com/cve/html/CVE-2014-3007.html

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

Plugin Details

Severity: Critical

ID: 182639

File Name: al2_ALAS-2023-2286.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/5/2023

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2014-3007

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/27/2023

Vulnerability Publication Date: 2/10/2014

Reference Information

CVE: CVE-2014-1932, CVE-2014-1933, CVE-2014-3007