Out-of-bounds read in GIFLIB - CVE-2020-23922
Published: July 9, 2024
Vulnerability identifier: #VU93876
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-23922
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to heap-based buffer over-read within the DumpScreen2RGB() function in gif2rgb.c. A remote attacker can pass a specially crafted file to the application and perform a denial of service attack.
Affected software
GIFLIB
Amazon Linux AMI
openEuler
giflib
giflib-debuginfo
giflib-devel
giflib-debugsource
giflib-utils
giflib-help
Amazon Linux AMI
openEuler
giflib
giflib-debuginfo
giflib-devel
giflib-debugsource
giflib-utils
giflib-help
How to mitigate CVE-2020-23922
Install update from vendor's website.
GIFLIB - update to 5.1.5
giflib - update to 5.2.1-9
giflib - update to 5.2.2-1
giflib-debuginfo - update to 5.2.2-1
giflib-devel - update to 5.2.2-1
giflib-debugsource - update to 5.2.2-1
giflib-utils - update to 5.2.2-1
giflib-help - update to 5.2.2-1
giflib - update to 5.2.1-9
giflib - update to 5.2.2-1
giflib-debuginfo - update to 5.2.2-1
giflib-devel - update to 5.2.2-1
giflib-debugsource - update to 5.2.2-1
giflib-utils - update to 5.2.2-1
giflib-help - update to 5.2.2-1
External References
- https://sourceforge.net/p/giflib/bugs/151/
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
- https://cwe.mitre.org/data/definitions/126.html