Out-of-bounds write in Gnome gdk-pixbuf - CVE-2021-46829
Published: August 8, 2022
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing GIF images. A remote attacker can create a specially crafted GIF image, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.
Affected software
Amazon Linux AMI
Oracle Linux
Debian Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
openSUSE Leap Micro
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Server
openSUSE Leap
openEuler
Ubuntu
Fedora
libgdk-pixbuf2.0-0 (Ubuntu package)
gdk-pixbuf2-debuginfo
gdk-pixbuf2
gdk-pixbuf2-devel
gdk-pixbuf2-debugsource
gdk-pixbuf2-help
typelib-1_0-GdkPixdata-2_0
gdk-pixbuf-thumbnailer
gdk-pixbuf-devel-debuginfo
gdk-pixbuf-devel
typelib-1_0-GdkPixbuf-2_0
libgdk_pixbuf-2_0-0-debuginfo
libgdk_pixbuf-2_0-0
gdk-pixbuf-query-loaders-debuginfo
gdk-pixbuf-query-loaders
gdk-pixbuf-debugsource
gdk-pixbuf-thumbnailer-debuginfo
gdk-pixbuf-lang
gdk-pixbuf-devel-32bit
gdk-pixbuf-devel-32bit-debuginfo
gdk-pixbuf-query-loaders-32bit
gdk-pixbuf-query-loaders-32bit-debuginfo
libgdk_pixbuf-2_0-0-32bit
libgdk_pixbuf-2_0-0-32bit-debuginfo
gdk-pixbuf (Debian package)
gdk-pixbuf2 (Red Hat package)
gdk-pixbuf2-modules
gdk-pixbuf2-tests
gdk-pixbuf2-doc
mingw-gdk-pixbuf
How to mitigate CVE-2021-46829
libgdk-pixbuf2.0-0 (Ubuntu package) - update to 2.40.0+dfsg-3ubuntu0.3
gdk-pixbuf2-debuginfo - addressed in versions 2.40.0-3, 2.42.6-4
gdk-pixbuf2 - addressed in versions 2.40.0-3, 2.42.6-4
gdk-pixbuf2-devel - addressed in versions 2.40.0-3, 2.42.6-4
gdk-pixbuf2-debugsource - addressed in versions 2.40.0-3, 2.42.6-4
gdk-pixbuf2-help - addressed in versions 2.40.0-3, 2.42.6-4
typelib-1_0-GdkPixdata-2_0 - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-thumbnailer - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-devel-debuginfo - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-devel - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
typelib-1_0-GdkPixbuf-2_0 - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
libgdk_pixbuf-2_0-0-debuginfo - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
libgdk_pixbuf-2_0-0 - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-query-loaders-debuginfo - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-query-loaders - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-debugsource - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-thumbnailer-debuginfo - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-lang - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-devel-32bit - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-devel-32bit-debuginfo - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-query-loaders-32bit - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf-query-loaders-32bit-debuginfo - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
libgdk_pixbuf-2_0-0-32bit - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
libgdk_pixbuf-2_0-0-32bit-debuginfo - addressed in versions 2.40.0-150200.3.6.1, 2.42.8-150400.5.3.1
gdk-pixbuf (Debian package) - update to 2.42.2+dfsg-1+deb11u1
gdk-pixbuf2 - addressed in versions 2.42.6-1, 2.42.10-1
gdk-pixbuf2 (Red Hat package) - update to 2.42.6-3.el9
gdk-pixbuf2 - addressed in versions 2.42.6-3.0.1, 2.42.6-4.0.1
gdk-pixbuf2-modules - addressed in versions 2.42.6-3.0.1, 2.42.6-4.0.1
gdk-pixbuf2-devel - addressed in versions 2.42.6-3.0.1, 2.42.6-4.0.1
gdk-pixbuf2-modules - update to 2.42.6-4
gdk-pixbuf2-tests - update to 2.42.6-4
gdk-pixbuf2-doc - update to 2.42.6-4.0.1
mingw-gdk-pixbuf - update to 2.42.8-1.fc35
External References
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bca00032ad68d0b0aa2c1f7558db931e52bd9cd2
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/5398f04d772f7f8baf5265715696ed88db0f0512
- https://www.openwall.com/lists/oss-security/2022/07/23/1
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121
- http://www.openwall.com/lists/oss-security/2022/07/25/1
- https://github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md
Related Security Bulletins
- Remote code execution in GNOME GDK-PixBuf
- Ubuntu update for gdk-pixbuf
- SUSE update for gdk-pixbuf
- SUSE update for gdk-pixbuf
- Debian update for gdk-pixbuf
- Red Hat Enterprise Linux 9 update for gdk-pixbuf2
- Multiple vulnerabilities in Oracle Linux
- openEuler 20.03 LTS SP3 update for gdk-pixbuf2
- openEuler 22.03 LTS update for gdk-pixbuf2
- Fedora 35 update for mingw-gdk-pixbuf
- Amazon Linux AMI update for gdk-pixbuf2
- Amazon Linux AMI update for gdk-pixbuf2
- Anolis OS update for gdk-pixbuf2
- Anolis OS update for gdk-pixbuf2