Out-of-bounds read in libexif - CVE-2017-7544
Published: June 17, 2020
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to improper length computation of the allocated data of an ExifMnote entry within the exif_data_save_data_entry() function in libexif/exif-data.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.
Affected software
Ubuntu
Slackware Linux
Opensuse
Fedora
libexif (Alpine package)
libexif12 (Ubuntu package)
libexif
How to mitigate CVE-2017-7544
libexif (Alpine package) - addressed in versions 0.6.21-r2, 0.6.21-r3
libexif12 (Ubuntu package) - addressed in versions 0.6.20-2ubuntu0.2, 0.6.21-1ubuntu1+esm1, 0.6.21-2ubuntu0.1, 0.6.21-4ubuntu0.1, 0.6.21-5.1ubuntu0.1
libexif - addressed in versions 0.6.22-1.fc31, 0.6.22-1.fc32