Bug 1852836 (CVE-2020-10379)
Summary: | CVE-2020-10379 python-pillow: two buffer overflows in libImaging/TiffDecode.c due to small buffers allocated in ImagingLibTiffDecode() | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Marian Rehak <mrehak> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | bdettelb, cstratak, manisandro, miminar, python-maint, tomckay, torsava, tsmetana |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | python-pillow 7.1.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-04 20:42:11 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1852837, 1852838 | ||
Bug Blocks: | 1852831 |
Description
Marian Rehak
2020-07-01 12:14:31 UTC
Created python-pillow tracking bugs for this issue: Affects: fedora-31 [bug 1852838] Affects: fedora-32 [bug 1852837] Upstream commit: https://github.com/python-pillow/Pillow/commit/46f4a349b88915787fea3fb91348bb1665831bbb The vulnerability was introduced with https://github.com/python-pillow/Pillow/commit/f0436a4ddc954541fa10a531e2d9ea0c5ae2065d and https://github.com/python-pillow/Pillow/commit/e91b851fdc1c914419543f485bdbaa010790719f, which add support for reading tiled TIFF images and add the realloc calls. Function ImagingLibTiffDecode() contains two buffer overflows due to missing checks on user-controlled sizes. Those sizes are used to realloc a buffer allocated in the heap, but they can be smaller than what expected by libtiff functions, used inside ImagingLibTiffDecode(). Statement: While python-pillow is listed as a dependency of Red Hat Quay, it is not used by the application. This issue did not affect the versions of python-pillow as shipped with Red Hat Enterprise Linux 5, 6, 7, and 8 as they provide an older version of the code which does not include the vulnerable code. This issue has been addressed in the following products: Red Hat Quay 3 Via RHSA-2021:0420 https://access.redhat.com/errata/RHSA-2021:0420 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2020-10379 |