Out-of-bounds read in LibRaw - CVE-2020-22628
Published: October 9, 2023
Vulnerability details
The vulnerability allows a remote attacker to crash the application.
The vulnerability exists due to a boundary condition within the LibRaw::stretch() function in librawsrcpostprocessingaspect_ratio.cpp. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.
Affected software
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Workstation Extension 12
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
libraw-devel
libraw-devel-static
libraw-debugsource
libraw9-debuginfo
libraw9
libraw-debuginfo
libraw16-debuginfo
libraw16
libraw19 (Ubuntu package)
libraw20-64bit
libraw-tools
libraw20-64bit-debuginfo
libraw20-32bit
libraw20-32bit-debuginfo
libraw20
libraw20-debuginfo
libraw-tools-debuginfo
How to mitigate CVE-2020-22628
libraw-devel - addressed in versions 0.15.4-42.1, 0.20.2-150400.3.9.1
libraw-devel-static - addressed in versions 0.15.4-42.1, 0.20.2-150400.3.9.1
libraw-debugsource - addressed in versions 0.15.4-42.1, 0.18.9-150000.3.23.1, 0.20.2-150400.3.9.1
libraw9-debuginfo - update to 0.15.4-42.1
libraw9 - update to 0.15.4-42.1
libraw-debuginfo - update to 0.18.9-150000.3.23.1
libraw16-debuginfo - update to 0.18.9-150000.3.23.1
libraw16 - update to 0.18.9-150000.3.23.1
libraw19 (Ubuntu package) - update to 0.19.5-1ubuntu1.3
libraw20-64bit - update to 0.20.2-150400.3.9.1
libraw-tools - update to 0.20.2-150400.3.9.1
libraw20-64bit-debuginfo - update to 0.20.2-150400.3.9.1
libraw20-32bit - update to 0.20.2-150400.3.9.1
libraw20-32bit-debuginfo - update to 0.20.2-150400.3.9.1
libraw20 - update to 0.20.2-150400.3.9.1
libraw20-debuginfo - update to 0.20.2-150400.3.9.1
libraw-tools-debuginfo - update to 0.20.2-150400.3.9.1