Heap-based Buffer Overflow Affecting upx/upx package, versions [,3.99)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.11% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-UPXUPX-3373069
  • published26 Mar 2023
  • disclosed26 Mar 2023
  • credit14isnot40

Introduced: 26 Mar 2023

CVE-2021-43314  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade upx/upx to version 3.99 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to the generic pointer p pointing to an inaccessible address in the get_le32(). The problem is essentially caused in PackLinuxElf32::elf_lookup() at p_lx_elf.cpp:5368.

CVSS Base Scores

version 3.1