Bug 1927237 (CVE-2020-29385) - CVE-2020-29385 gdk-pixbuf: DoS in lzw.c
Summary: CVE-2020-29385 gdk-pixbuf: DoS in lzw.c
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-29385
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1927239 1928670 1928673
Blocks: 1927240
TreeView+ depends on / blocked
 
Reported: 2021-02-10 11:40 UTC by Dhananjay Arunesh
Modified: 2022-04-18 02:27 UTC (History)
10 users (show)

Fixed In Version: gdk-pixbuf 2.42.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-18 02:27:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2021-02-10 11:40:49 UTC
GNOME gdk-pixbuf (aka GdkPixbuf) before 2.42.2 allows a denial of service (infinite loop) in lzw.c in the function write_indexes. if c->self_code equals 10, self->code_table[10].extends will assign the value 11 to c. The next execution in the loop will assign self->code_table[11].extends to c, which will give the value of 10. This will make the loop run infinitely. This bug can, for example, be triggered by calling this function with a GIF image with LZW compression that is crafted in a special way.

References:
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164

Comment 1 Dhananjay Arunesh 2021-02-10 11:41:37 UTC
Created gdk-pixbuf2 tracking bugs for this issue:

Affects: fedora-all [bug 1927239]

Comment 5 Stefan Cornelius 2021-02-15 10:40:02 UTC
Created mingw-gdk-pixbuf tracking bugs for this issue:

Affects: fedora-all [bug 1928673]

Comment 6 Product Security DevOps Team 2022-04-18 02:27:49 UTC
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-29385


Note You need to log in before you can comment on or make changes to this bug.