Bug 1185786 (CVE-2021-28676) - VUL-0: CVE-2021-28676: python-Pillow: infinite loop in FliDecode.c can lead to DoS
Summary: VUL-0: CVE-2021-28676: python-Pillow: infinite loop in FliDecode.c can lead t...
Status: RESOLVED FIXED
Alias: CVE-2021-28676
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/283763/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-28676:7.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-07 15:34 UTC by Gianluca Gabrielli
Modified: 2024-05-14 11:44 UTC (History)
3 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.
Description Gianluca Gabrielli 2021-05-07 15:34:17 UTC
CVE-2021-28676

FliDecode.c did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load. This dates to the PIL fork.

References:
https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#security
https://github.com/python-pillow/Pillow/pull/5377

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1958252
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-28676
Comment 1 Gianluca Gabrielli 2021-05-07 15:35:46 UTC
Affected packages:

SUSE:SLE-12-SP2:Update:Products:Cloud7:Update/python-Pillow   2.8.1
SUSE:SLE-12-SP3:Update:Products:Cloud8:Update/python-Pillow   4.2.1
SUSE:SLE-12-SP4:Update:Products:Cloud9:Update/python-Pillow   5.2.0

Upstream patch [0]

[0] https://github.com/python-pillow/Pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856.patch
Comment 5 Christian Almeida de Oliveira 2021-05-28 08:24:01 UTC
https://jira.suse.com/browse/SOC-11528
Comment 6 Swamp Workflow Management 2021-06-10 13:23:30 UTC
SUSE-SU-2021:1938-1: An update that fixes 14 vulnerabilities is now available.

Category: security (important)
Bug References: 1180832,1180834,1183101,1183102,1183105,1183107,1183108,1183110,1185784,1185785,1185786,1185803,1185804,1185805
CVE References: CVE-2020-35653,CVE-2020-35655,CVE-2021-25287,CVE-2021-25288,CVE-2021-25290,CVE-2021-25292,CVE-2021-25293,CVE-2021-27921,CVE-2021-27922,CVE-2021-27923,CVE-2021-28675,CVE-2021-28676,CVE-2021-28677,CVE-2021-28678
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 9 (src):    python-Pillow-5.2.0-3.8.1
SUSE OpenStack Cloud 9 (src):    python-Pillow-5.2.0-3.8.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Swamp Workflow Management 2021-06-10 13:27:27 UTC
SUSE-SU-2021:1939-1: An update that fixes 10 vulnerabilities is now available.

Category: security (important)
Bug References: 1180834,1183101,1183105,1183107,1183108,1185785,1185786,1185803,1185804,1185805
CVE References: CVE-2020-35653,CVE-2021-25287,CVE-2021-25288,CVE-2021-25290,CVE-2021-25292,CVE-2021-27922,CVE-2021-27923,CVE-2021-28675,CVE-2021-28676,CVE-2021-28677
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 8 (src):    python-Pillow-4.2.1-3.14.1
SUSE OpenStack Cloud 8 (src):    python-Pillow-4.2.1-3.14.1
HPE Helion Openstack 8 (src):    python-Pillow-4.2.1-3.14.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Swamp Workflow Management 2021-06-10 13:45:24 UTC
SUSE-SU-2021:1940-1: An update that fixes 9 vulnerabilities is now available.

Category: security (important)
Bug References: 1180834,1183105,1183107,1183108,1185785,1185786,1185803,1185804,1185805
CVE References: CVE-2020-35653,CVE-2021-25287,CVE-2021-25288,CVE-2021-25290,CVE-2021-27922,CVE-2021-27923,CVE-2021-28675,CVE-2021-28676,CVE-2021-28677
JIRA References: 
Sources used:
SUSE OpenStack Cloud 7 (src):    python-Pillow-2.8.1-4.22.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Christian Almeida de Oliveira 2021-06-11 10:28:13 UTC
All fixes are include in the last MU's for SOC 7, SOC 8 and SOC 9.
Back to security team.
Comment 13 Maintenance Automation 2024-05-10 20:30:15 UTC
SUSE-SU-2024:1607-1: An update that solves six vulnerabilities can now be installed.

Category: security (important)
Bug References: 1185784, 1185785, 1185786, 1185803, 1185804, 1185805
CVE References: CVE-2021-25287, CVE-2021-25288, CVE-2021-28675, CVE-2021-28676, CVE-2021-28677, CVE-2021-28678
Maintenance Incident: [SUSE:Maintenance:33801](https://smelt.suse.de/incident/33801/)
Sources used:
openSUSE Leap 15.3 (src):
 python-Pillow-7.2.0-150300.3.12.1
openSUSE Leap 15.5 (src):
 python-Pillow-7.2.0-150300.3.12.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.