CVE-2021-43314 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-43314?
CVE-2021-43314 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:5368
Which versions are affected by CVE-2021-43314?
It affects 1 product.
Products include Upx Upx.
How do I fix CVE-2021-43314?
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-43314 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-43314 exists.
Other vulnerabilities in upx
Sources
Also known as DEBIAN-CVE-2021-43314, GHSA-qw8f-cj3r-vr8p, UBUNTU-CVE-2021-43314.