Out-of-bounds read in UPX - CVE-2019-20021

 

Out-of-bounds read in UPX - CVE-2019-20021

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


Vulnerability identifier: #VU23826
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-20021
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: UPX
Affected software:
UPX

Detailed vulnerability description

The vulnerability allows an attacker to gain access to potentially sensitive information.

The vulnerability exists due to a heap-based buffer over-read within the canUnpack() function in p_mach.cpp. An attacker can create a specially crafted Mach-O file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.


How to mitigate CVE-2019-20021

Install update from vendor's website.

Sources