Division by zero in Exiv2 - CVE-2021-34335

 

Division by zero in Exiv2 - CVE-2021-34335

Published: December 22, 2023


Vulnerability identifier: #VU84713
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2021-34335
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Exiv2

Detailed vulnerability description

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

The vulnerability exists due to divide by zero error in Exiv2::Internal::resolveLens0xffff(). A remote attacker can pass specially crafted file to the application and crash it.


How to mitigate CVE-2021-34335

Install update from vendor's website.

Sources