Skip to content
OpenAdvisories
High ALAS2-2020-1412 2 CVEs

Important: python-pillow security update (Amazon Linux 2)

Published Apr 20, 2020 · Updated Apr 23, 2020

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2020-5312: libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow. 1789533: CVE-2020-5312 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c CVE-2019-16865: An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image. 1774066: CVE-2019-16865 python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service

Fixed packages 6

ReleasePackageFixed in
Amazon Linux · 2 python-pillow 0:2.0.0-20.gitd1c6db8.amzn2.0.1
Amazon Linux · 2 python-pillow-debuginfo 0:2.0.0-20.gitd1c6db8.amzn2.0.1
Amazon Linux · 2 python-pillow-devel 0:2.0.0-20.gitd1c6db8.amzn2.0.1
Amazon Linux · 2 python-pillow-doc 0:2.0.0-20.gitd1c6db8.amzn2.0.1
Amazon Linux · 2 python-pillow-sane 0:2.0.0-20.gitd1c6db8.amzn2.0.1
Amazon Linux · 2 python-pillow-tk 0:2.0.0-20.gitd1c6db8.amzn2.0.1

Vulnerabilities 2

  • Critical 9.8

    PCX P mode buffer overflow in Pillow

    libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.

  • High 7.5

    DOS attack in Pillow when processing specially crafted image files

    An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-16865.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2020-5312.html