CVE-2021-44078 Memory corruption in n/a

High 8.1 Published Updated

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.

PackageAffectedFixed in
unicorn PyPIAll versions2.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.

Sources

Also known as GHSA-rmvm-v6m6-87vr, PYSEC-2021-868.

Is CVE-2021-44078 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free