CVE-2021-44078 Memory corruption in n/a
Local attackers can escape the sandbox and execute arbitrary code on the host via a memory manager flaw in Unicorn Engine.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-44078?
CVE-2021-44078 is a high-severity memory corruption vulnerability in n/a, published on 26 Dec 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in split_region in uc.c in Unicorn Engine before 2.0.0-rc5. It allows local attackers to escape the sandbox. An attacker must first obtain the ability to execute crafted code in the target sandbox in order to exploit this vulnerability. The specific flaw exists within the virtual memory manager. The issue results from the faulty comparison of GVA and GPA while calling uc_mem_map_ptr to free part of a claimed memory block. An attacker can leverage this vulnerability to escape the sandbox and execute arbitrary code on the host machine.
Weakness: CWE-697
Which versions are affected by CVE-2021-44078?
1 open source package ship an affected version, including unicorn. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
unicorn PyPI | All versions | 2.0.0rc1 |
Products include Unicorn-Engine Unicorn Engine.
How do I fix CVE-2021-44078?
Upgrade unicorn to 2.0.0rc1 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-44078 being exploited?
There is no known exploitation of CVE-2021-44078 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-rmvm-v6m6-87vr, PYSEC-2021-868.