Vulnerability · Published Dec 26, 2020 · Assigned by mitre
CVE-2020-29385
Medium 5.5
In plain English
A medium-severity security flaw in the gdk-pixbuf package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gdk-pixbuf | 2.42.2-r0 | ALPINE-CVE-2020-29385 |
| Alpine:v3.21 | gdk-pixbuf | 2.42.2-r0 | ALPINE-CVE-2020-29385 |
| Alpine:v3.22 | gdk-pixbuf | 2.42.2-r0 | ALPINE-CVE-2020-29385 |
| Alpine:v3.23 | gdk-pixbuf | 2.42.2-r0 | ALPINE-CVE-2020-29385 |
| Alpine:v3.24 | gdk-pixbuf | 2.42.2-r0 | ALPINE-CVE-2020-29385 |
| Debian:12 | gdk-pixbuf | 2.42.2+dfsg-1 | DEBIAN-CVE-2020-29385 |
| Debian:13 | gdk-pixbuf | 2.42.2+dfsg-1 | DEBIAN-CVE-2020-29385 |
| Debian:14 | gdk-pixbuf | 2.42.2+dfsg-1 | DEBIAN-CVE-2020-29385 |
Affected products (as reported)
References
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS x_refsource_MISC
- https://security.gentoo.org/glsa/202012-15 x_refsource_MISC
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166 x_refsource_CONFIRM
- https://ubuntu.com/security/CVE-2020-29385 x_refsource_CONFIRM
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164 x_refsource_CONFIRM
- FEDORA-2021-2e59756cbe vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-755ba8968a vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-c918632e13 vendor-advisory, x_refsource_FEDORA