Allocation of Resources Without Limits or Throttling in Exiv2 - CVE-2020-18899

 

Allocation of Resources Without Limits or Throttling in Exiv2 - CVE-2020-18899

Published: December 22, 2023


Vulnerability identifier: #VU84708
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-2020-18899
CWE-ID: CWE-770
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 an uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function. A remote attacker can pass specially crafted file to the application and perform a denial of service (DoS) attack.


Affected software

Exiv2
Gentoo Linux
Ubuntu
exiv2 (Ubuntu package)
media-gfx/exiv2

How to mitigate CVE-2020-18899

Install updates from vendor's website.

Exiv2 - update to 0.27.1
exiv2 (Ubuntu package) - addressed in versions 0.25-2.1ubuntu16.04.7+esm5, 0.25-3.1ubuntu0.18.04.11+esm1, 0.27.2-8ubuntu2.7+esm1, 0.27.2-8ubuntu2.7+esm3, 0.27.5-3ubuntu1.1, 0.27.5-3ubuntu1.3, 0.27.6-1ubuntu0.1, 0.27.6-1ubuntu0.3, 0.28.5+dfsg-1ubuntu0.1, 0.28.5+dfsg-1ubuntu0.3
media-gfx/exiv2 - update to 0.28.1

External References

Related Security Bulletins