ADVISORIES

Amazon Linux Security Advisory

ALAS2-2023-2286

Amazon Linux 2 2017.12 - ALAS2-2023-2286: important priority package update for python-pillow

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2014-3007: 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-1933: 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-1932: 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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python-pillow
All versions before 2.0.0-23.gitd1c6db8.amzn2.0.8 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.8)
Amazon Linux:2python-pillow-debuginfo
All versions before 2.0.0-23.gitd1c6db8.amzn2.0.8 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.8)
Amazon Linux:2python-pillow-devel
All versions before 2.0.0-23.gitd1c6db8.amzn2.0.8 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.8)
Amazon Linux:2python-pillow-doc
All versions before 2.0.0-23.gitd1c6db8.amzn2.0.8 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.8)
Amazon Linux:2python-pillow-sane
All versions before 2.0.0-23.gitd1c6db8.amzn2.0.8 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.8)
Amazon Linux:2python-pillow-tk
All versions before 2.0.0-23.gitd1c6db8.amzn2.0.8 (fixed in 2.0.0-23.gitd1c6db8.amzn2.0.8)

References