CVE-2021-43312Improper Restriction of Operations within the Bounds of a Memory Buffer in UPX

Severity
7.5HIGHNVD
EPSS
0.3%
top 42.62%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 24

Description

A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address. The issue is being triggered in the function PackLinuxElf64::invert_pt_dynamic at p_lx_elf.cpp:5239.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDupx/upx< 4.0.0
debiandebian/upx-ucl< upx-ucl 4.2.2-1 (forky)
CVEListV5upx/upxupx before 4.0.0-git-c6b9e3c62d15

Patches

🔴Vulnerability Details

2
GHSA
GHSA-3rqj-h86c-2fpp: A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address2023-03-24
OSV
CVE-2021-43312: A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address2023-03-24

📋Vendor Advisories

1
Debian
CVE-2021-43312: upx-ucl - A heap-based buffer overflow was discovered in upx, during the variable 'bucket'...2021
CVE-2021-43312 — UPX vulnerability | cvebase