Integer overflow in Exiv2 - CVE-2019-13108

 

Integer overflow in Exiv2 - CVE-2019-13108

Published: July 28, 2019


Vulnerability identifier: #VU19509
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-13108
CWE-ID: CWE-190
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 integer overflow in Exiv2 through 0.27.1 due to PngImage::readMetadata mishandles a zero value for iccOffset. A remote attacker can create a crafted PNG image file, trigger integer overflow and perform denial of service (DoS) attack.


Affected software

Exiv2
exiv2 (Alpine package)
exiv2
exiv2-debugsource
exiv2-help
exiv2-debuginfo
exiv2-devel
openEuler
Fedora

How to mitigate CVE-2019-13108

Install update from vendor's website.

Exiv2 - update to 0.27.2
exiv2 (Alpine package) - update to 0.27.2-r0
exiv2 - update to 0.27.2-1.fc30
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
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 - addressed in versions 0.27.5-1, 0.27.5-2

External References

Related Security Bulletins