CVE-2021-44078
JSON

8.1high

An issue was discovered in splitregion in uc.c in Unicorn Engine before 2.0.0-rc5.

Severity
8.1high CVSS:3.1 by NVD
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
PYSEC-2021-868

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
unicorn-engine unicorn_engineup to 1.0.3, 2.0.0NVD
unicorn (PyPI)before c733bbada356b0373fa8aa72c044574bb855fd24, before 2.0.0rc1PyPA Advisory Database

All scores

NVD8.1high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD6.9medium CVSS:2.0AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

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.

NVD (es)

Se ha detectado un problema en la función split_region en el archivo uc.c en Unicorn Engine versiones anteriores a 2.0.0-rc5. Permite a atacantes locales escapar del sandbox. Un atacante debe obtener primero la capacidad de ejecutar código diseñado en el sandbox de destino para poder explotar esta vulnerabilidad. El fallo específico se presenta en el administrador de memoria virtual. El problema resulta de la comparación defectuosa de GVA y GPA mientras es llamado a uc_mem_map_ptr para liberar parte de un bloque de memoria reclamado. Un atacante puede aprovechar esta vulnerabilidad para escapar del sandbox y ejecutar código arbitrario en la máquina anfitriona

References

Sources

SourceRecordLicence
CVE ListCVE-2021-44078 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-44078 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-868 changed 2023-11-08CC-BY-4.0