Out-of-bounds read in libexif - CVE-2020-13112

 

Out-of-bounds read in libexif - CVE-2020-13112

Published: May 22, 2020


Vulnerability identifier: #VU28183
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-13112
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information or perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in EXIF MakerNote handling. A remote attacker can trigger out-of-bounds read error and read contents of memory on the system or cause a denial of service condition.


Affected software

libexif
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
CentOS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Slackware Linux
Opensuse
openEuler
Fedora
libexif (Alpine package)
libexif (Ubuntu package)
libexif (Red Hat package)
libexif
libexif-debugsource
libexif-debuginfo
libexif-devel
libexif-help

How to mitigate CVE-2020-13112

Install updates from vendor's website.

libexif - update to 0.6.22
libexif (Alpine package) - update to 0.6.22-r0
libexif (Ubuntu package) - addressed in versions 0.6.21-2ubuntu0.5, 0.6.21-4ubuntu0.5, 0.6.21-5.1ubuntu0.5, 0.6.21-6ubuntu0.3
libexif (Red Hat package) - addressed in versions 0.6.21-6.el6_10, 0.6.21-7.el7_8, 0.6.21-17.el8_0, 0.6.21-17.el8_2
libexif - update to 0.6.21-23
libexif-debugsource - update to 0.6.21-23
libexif-debuginfo - update to 0.6.21-23
libexif-devel - update to 0.6.21-23
libexif-help - update to 0.6.21-23
libexif - addressed in versions 0.6.22-1.fc31, 0.6.22-1.fc32

External References

Related Security Bulletins