Out-of-bounds read in Exiv2 - CVE-2018-20098

 

Out-of-bounds read in Exiv2 - CVE-2018-20098

Published: December 12, 2018 / Updated: October 27, 2022


Vulnerability identifier: #VU36300
CSH Severity: Medium
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-2018-20098
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

There is a heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.


Affected software

Exiv2
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Enterprise Storage
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
Fedora
exiv2
exiv2-debuginfo
exiv2-debugsource
libexiv2-26
libexiv2-26-debuginfo
libexiv2-devel
libexiv2-doc
exiv2-lang
libexiv2-26-32bit
libexiv2-26-32bit-debuginfo
mingw-exiv2

How to mitigate CVE-2018-20098

Install update from vendor's website.

Exiv2 - update to 0.27
exiv2 - update to 0.26-150000.6.26.1
exiv2-debuginfo - update to 0.26-150000.6.26.1
exiv2-debugsource - update to 0.26-150000.6.26.1
libexiv2-26 - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
libexiv2-26-debuginfo - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
libexiv2-devel - update to 0.26-150000.6.26.1
libexiv2-doc - update to 0.26-150000.6.26.1
exiv2-lang - update to 0.26-150000.6.26.1
libexiv2-26-32bit - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
libexiv2-26-32bit-debuginfo - addressed in versions 0.26-150000.6.26.1, 0.26-150400.9.21.1
mingw-exiv2 - update to 0.27-3.fc30

External References

Related Security Bulletins