CVE-2020-29385 Denial of service in n/a

Medium 5.5 Published Updated

An attacker can cause a denial of service via an infinite loop in the LZW decoder by providing a specially crafted GIF image to applications using GDK Pixbuf.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-29385?

CVE-2020-29385 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 26 Dec 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-835

Which versions are affected by CVE-2020-29385?

It affects 3 products.

Linux distribution packages (3)
gdk-pixbuf SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions2.40.0-3.3.1
gdk-pixbuf SUSE:Linux Enterprise Module for Desktop Applications 15 SP2All versions2.40.0-3.3.1
gdk-pixbuf openSUSE:Leap 15.2All versions2.40.0-lp152.2.3.1

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Gnome Gdk-Pixbuf.

How do I fix CVE-2020-29385?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-29385 being exploited?

There is no known exploitation of CVE-2020-29385 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-29385, DEBIAN-CVE-2020-29385, GHSA-wf85-g3p6-xf4h, SUSE-SU-2021:0184-1, UBUNTU-CVE-2020-29385, USN-4663-1 and 1 more.

Is CVE-2020-29385 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free