Buffer Overflow Affecting python-pillow-tk package, versions <0:2.0.0-20.gitd1c6db8.amzn2.0.1
Threat Intelligence
EPSS
0.97% (84th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-AMZN2-PYTHONPILLOWTK-1679201
- published 27 Sep 2021
- disclosed 3 Jan 2020
Introduced: 3 Jan 2020
CVE-2020-5312 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2 python-pillow-tk to version 0:2.0.0-20.gitd1c6db8.amzn2.0.1 or higher.
This issue was patched in ALAS2-2020-1412.
NVD Description
Note: Versions mentioned in the description apply only to the upstream python-pillow-tk package and not the python-pillow-tk package as distributed by Amazon-Linux.
See How to fix? for Amazon-Linux:2 relevant fixed versions and status.
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5312
- https://www.debian.org/security/2020/dsa-4631
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- https://access.redhat.com/errata/RHSA-2020:0566
- https://access.redhat.com/errata/RHSA-2020:0578
- https://access.redhat.com/errata/RHSA-2020:0580
- https://access.redhat.com/errata/RHSA-2020:0681
- https://access.redhat.com/errata/RHSA-2020:0683
- https://access.redhat.com/errata/RHSA-2020:0694
- https://usn.ubuntu.com/4272-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
CVSS Scores
version 3.1