Heap-based buffer overflow in GIFLIB - CVE-2022-28506

 

Heap-based buffer overflow in GIFLIB - CVE-2022-28506

Published: March 7, 2024


Vulnerability identifier: #VU87207
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-28506
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the DumpScreen2RGB() function in gif2rgb.c. A remote attacker can pass specially crafted file to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

GIFLIB
PowerStore 9000X
PowerStore 7000X
PowerStore 5000X
PowerStore 3000X
PowerStore 1000X
PowerStoreX OS
Amazon Linux AMI
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
giflib-tools (Ubuntu package)
libgif6-32bit
libgif6
giflib-progs-debuginfo
giflib-progs
giflib-devel
giflib-debugsource
libgif6-debuginfo
libgif6-debuginfo-32bit
giflib-utils
giflib-debuginfo
giflib-help
giflib
mingw-giflib
libgif7-debuginfo
libgif7-32bit-debuginfo
giflib-devel-32bit
libgif7-32bit
libgif7
PowerStore T
EMC Cloud Tiering Appliance

How to mitigate CVE-2022-28506

Install updates from vendor's website.

GIFLIB - update to 5.2.2
giflib-tools (Ubuntu package) - addressed in versions Ubuntu Pro, 5.1.9-1ubuntu0.1, 5.1.9-2ubuntu0.1, 5.2.1-2.5ubuntu0.1
PowerStoreX OS - update to 3.2.1.5-2424458
PowerStore T - update to 3.6.1.4-2413340
libgif6-32bit - update to 5.0.5-13.6.1
libgif6 - update to 5.0.5-13.6.1
giflib-progs-debuginfo - addressed in versions 5.0.5-13.6.1, 5.2.2-150000.4.13.1
giflib-progs - addressed in versions 5.0.5-13.6.1, 5.2.2-150000.4.13.1
giflib-devel - addressed in versions 5.0.5-13.6.1, 5.2.2-150000.4.13.1
giflib-debugsource - addressed in versions 5.0.5-13.6.1, 5.2.2-150000.4.13.1
libgif6-debuginfo - update to 5.0.5-13.6.1
libgif6-debuginfo-32bit - update to 5.0.5-13.6.1
giflib-utils - update to 5.2.1-3
giflib-debuginfo - update to 5.2.1-3
giflib-devel - update to 5.2.1-3
giflib-debugsource - update to 5.2.1-3
giflib-help - update to 5.2.1-3
giflib - update to 5.2.1-3
giflib - update to 5.2.1-4
giflib-devel - update to 5.2.1-4
giflib-utils - update to 5.2.1-4
mingw-giflib - update to 5.2.1-7.fc35
giflib - update to 5.2.1-9
giflib - addressed in versions 5.2.1-9.fc35, 5.2.1-14.fc36
libgif7-debuginfo - update to 5.2.2-150000.4.13.1
libgif7-32bit-debuginfo - update to 5.2.2-150000.4.13.1
giflib-devel-32bit - update to 5.2.2-150000.4.13.1
libgif7-32bit - update to 5.2.2-150000.4.13.1
libgif7 - update to 5.2.2-150000.4.13.1
EMC Cloud Tiering Appliance - update to 13.2.0.2.29

External References

Related Security Bulletins