Resource exhaustion in Exiv2 - CVE-2018-17581

 

Resource exhaustion in Exiv2 - CVE-2018-17581

Published: November 30, 2022


Vulnerability identifier: #VU69761
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-17581
CWE-ID: CWE-400
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 application does not properly control consumption of internal resources caused by excessive stack consumption due to a recursive function within the CiffDirectory::readDirectory() function in crwimage_int.cpp. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) 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
exiv2
exiv2-debuginfo
exiv2-debugsource
libexiv2-26
libexiv2-26-debuginfo
libexiv2-devel
libexiv2-doc
exiv2-lang
libexiv2-26-32bit
libexiv2-26-32bit-debuginfo

How to mitigate CVE-2018-17581

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

External References

Related Security Bulletins