Bug 1160150 - (CVE-2020-5310) VUL-0: CVE-2020-5310: python-Pillow: TIFF decoding integer overflow, related to realloc
(CVE-2020-5310)
VUL-0: CVE-2020-5310: python-Pillow: TIFF decoding integer overflow, related ...
Status: RESOLVED INVALID
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/250317/
CVSSv3.1:NVD:CVE-2020-5310:8.8:(AV:N...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-06 14:42 UTC by Alexander Bergmann
Modified: 2020-10-21 09:24 UTC (History)
7 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Wolfgang Frisch 2020-05-04 14:49:37 UTC
Upstream fix:
https://github.com/python-pillow/Pillow/commit/4e2def2539ec13e53a82e06c4b3daf00454100c4

Please submit for:
SUSE:SLE-12-SP3:Update:Products:SES5:Update
SUSE:SLE-12-SP3:Update:Products:Cloud8:Update
SUSE:SLE-12-SP4:Update:Products:Cloud9:Update
Comment 4 Jacek Tomasiak 2020-06-01 12:54:42 UTC
Looks like this CVE doesn't really affect SOC8 and SOC9.
We have Pillow 4.2.1 / 5.2 in those products respectively.

The problematic realloc()s were added here:
https://github.com/python-pillow/Pillow/commit/f0436a4ddc954541fa10a531e2d9ea0c5ae2065d#diff-3263bc8c8967e8fb6699bb2171f35b76R250 (Pillow 5.3.0)
and here:
https://github.com/python-pillow/Pillow/commit/e91b851fdc1c914419543f485bdbaa010790719f#diff-3263bc8c8967e8fb6699bb2171f35b76R416 (Pillow 6.0.0)

Looking at other distros e.g.: https://people.canonical.com/~ubuntu-security/cve/2020/CVE-2020-5310.html patched versions were released for Pillow versions >=6.1.0 and marked as "not-affected" for versions <=5.1.0.
Comment 5 Jacek Tomasiak 2020-06-01 13:02:26 UTC
Debian (https://security-tracker.debian.org/tracker/CVE-2020-5310 ) didn't even release a fix for Pillow 5.4.1 even though the notes mention that the bug was introduced by the same commits I linked earlier (Pillow 5.3.0 / 6.0.0).
Only Pillow 7.0.0 in unstable was fixed.