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-3373068
  • published26 Mar 2023
  • disclosed26 Mar 2023
  • credit14isnot40

Introduced: 26 Mar 2023

CVE-2021-43313  (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 variable bucket pointing to an inaccessible address. The issue is being triggered in the function PackLinuxElf32::invert_pt_dynamic at p_lx_elf.cpp:1688.

CVSS Base Scores

version 3.1