Out-of-bounds read in Exiv2 - CVE-2019-13504

 

Out-of-bounds read in Exiv2 - CVE-2019-13504

Published: July 17, 2019 / Updated: June 30, 2020


Vulnerability identifier: #VU19220
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-13504
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service (DoS) condition on a targeted system.

The vulnerability exists due to an out-of-bounds read error in the "Exiv2::MrwImage::readMetadata" function in the "mrwimage.cpp" file. A remote attacker can create a specially crafted media file, trick the victim into opening it and cause the affected application to crash.


Affected software

Exiv2
Amazon Linux AMI
Gentoo Linux
Opensuse
openEuler
Fedora
exiv2
exiv2-debuginfo
exiv2-devel
exiv2-debugsource
exiv2-help

How to mitigate CVE-2019-13504

Install update from vendor's website.

Exiv2 - update to 0.27.3
exiv2 - update to 0.27.2-1.fc30
exiv2 - addressed in versions 0.27.5-1, 0.27.5-2
exiv2-debuginfo - addressed in versions 0.27.5-1, 0.27.5-2
exiv2-devel - addressed in versions 0.27.5-1, 0.27.5-2
exiv2-debugsource - addressed in versions 0.27.5-1, 0.27.5-2
exiv2-help - addressed in versions 0.27.5-1, 0.27.5-2

External References

Related Security Bulletins