CVE-2021-43315 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-43315?
CVE-2021-43315 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 overflows was discovered in upx, during the generic pointer 'p' points to an inaccessible address in func get_le32(). The problem is essentially caused in PackLinuxElf32::elf_lookup() at p_lx_elf.cpp:5349
Which versions are affected by CVE-2021-43315?
It affects 1 product.
Products include Upx Upx.
How do I fix CVE-2021-43315?
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-43315 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-43315 exists.
Other vulnerabilities in upx
Sources
Also known as DEBIAN-CVE-2021-43315, GHSA-pc9f-fr4v-3pc2, UBUNTU-CVE-2021-43315.