Loop with Unreachable Exit Condition ('Infinite Loop') Affecting gdk-pixbuf-lang package, versions <2.40.0-3.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.54% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES152-GDKPIXBUFLANG-2691429
  • published14 Apr 2022
  • disclosed21 Jan 2021

Introduced: 21 Jan 2021

CVE-2020-29385  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 gdk-pixbuf-lang to version 2.40.0-3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gdk-pixbuf-lang package and not the gdk-pixbuf-lang package as distributed by SLES. See How to fix? for SLES:15.2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1