Division by zero in lrzip - CVE-2017-8842

 

Division by zero in lrzip - CVE-2017-8842

Published: May 8, 2017 / Updated: February 16, 2021


Vulnerability identifier: #VU39065
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-8842
CWE-ID: CWE-369
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: ckolivas (Con Kolivas)
Affected software:
lrzip

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 within The bufRead::get() function in libzpaq/libzpaq.h in liblrzip.so in lrzip 0.631. A remote attacker can perform a denial of service (divide-by-zero error and application crash) via a crafted archive.


How to mitigate CVE-2017-8842

Install update from vendor's website.

Sources