CVE-2021-43313 Memory corruption in upx
A heap-based buffer overflow in UPX allows attackers to execute arbitrary code or cause denial of service via crafted ELF files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-43313?
CVE-2021-43313 is a high-severity memory corruption vulnerability in upx, published on 24 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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 PackLinuxElf32::invert_pt_dynamic at p_lx_elf.cpp:1688.
Which versions are affected by CVE-2021-43313?
It affects 1 product.
Products include Upx Upx.
How do I fix CVE-2021-43313?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-43313 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-43313 exists.
Other vulnerabilities in upx
Sources
Also known as DEBIAN-CVE-2021-43313, GHSA-j554-cfvx-c858, UBUNTU-CVE-2021-43313.