Incorrect calculation in UPX - CVE-2019-20051

 

Incorrect calculation in UPX - CVE-2019-20051

Published: December 28, 2019 / Updated: January 29, 2020


Vulnerability identifier: #VU23824
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-2019-20051
CWE-ID: CWE-682
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to incorrect calculation due to a floating point exception within the PackLinuxElf::elf_hash() function in p_lx_elf.cpp. A remote attacker can create a specially crafted file, pass it to the application, trigger a floating-point exception and crash the affected application.


Affected software

UPX
Fedora
upx

How to mitigate CVE-2019-20051

Install update from vendor's website.

UPX - update to 3.96
upx - addressed in versions 3.96-1.el7, 3.96-1.el8, 3.96-1.fc30, 3.96-2.fc31

External References

Related Security Bulletins