Sandbox Bypass Affecting unicorn package, versions [,2.0.0rc5)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-UNICORN-2331921
- published 9 Jan 2022
- disclosed 26 Dec 2021
- credit Unknown
Introduced: 26 Dec 2021
CVE-2021-44078 Open this link in a new tabHow to fix?
Upgrade unicorn
to version 2.0.0rc5 or higher.
Overview
unicorn is an Unicorn CPU emulator engine
Affected versions of this package are vulnerable to Sandbox Bypass in split_region
in uc.c
. 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 up a part of a claimed memory block. An attacker can leverage this vulnerability to escape the sandbox and execute arbitrary code on the host machine.