Amazon Linux 2 Security Advisory: ALAS-2020-1412
Advisory Release Date: 2020-04-20 20:47 Pacific
Advisory Updated Date: 2020-04-23 23:40 Pacific
A flaw was discovered in the way the python-pillow may allocate a large amount of memory or require a long time while processing specially crafted image files, possibly causing a denial of service. Applications that use the library to process untrusted files may be vulnerable to this flaw. (CVE-2019-16865)
A flaw was discovered in python-pillow where it does not properly restrict operations within the bounds of a memory buffer when decoding PCX images. An application that uses python-pillow to decode untrusted images may be vulnerable to this flaw, which can allow an attacker to crash the application or potentially execute code on the system. (CVE-2020-5312)
Affected Packages:
python-pillow
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update python-pillow to update your system.
aarch64:
python-pillow-2.0.0-20.gitd1c6db8.amzn2.0.1.aarch64
python-pillow-devel-2.0.0-20.gitd1c6db8.amzn2.0.1.aarch64
python-pillow-doc-2.0.0-20.gitd1c6db8.amzn2.0.1.aarch64
python-pillow-sane-2.0.0-20.gitd1c6db8.amzn2.0.1.aarch64
python-pillow-tk-2.0.0-20.gitd1c6db8.amzn2.0.1.aarch64
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.amzn2.0.1.aarch64
i686:
python-pillow-2.0.0-20.gitd1c6db8.amzn2.0.1.i686
python-pillow-devel-2.0.0-20.gitd1c6db8.amzn2.0.1.i686
python-pillow-doc-2.0.0-20.gitd1c6db8.amzn2.0.1.i686
python-pillow-sane-2.0.0-20.gitd1c6db8.amzn2.0.1.i686
python-pillow-tk-2.0.0-20.gitd1c6db8.amzn2.0.1.i686
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.amzn2.0.1.i686
src:
python-pillow-2.0.0-20.gitd1c6db8.amzn2.0.1.src
x86_64:
python-pillow-2.0.0-20.gitd1c6db8.amzn2.0.1.x86_64
python-pillow-devel-2.0.0-20.gitd1c6db8.amzn2.0.1.x86_64
python-pillow-doc-2.0.0-20.gitd1c6db8.amzn2.0.1.x86_64
python-pillow-sane-2.0.0-20.gitd1c6db8.amzn2.0.1.x86_64
python-pillow-tk-2.0.0-20.gitd1c6db8.amzn2.0.1.x86_64
python-pillow-debuginfo-2.0.0-20.gitd1c6db8.amzn2.0.1.x86_64