Sandbox Bypass Affecting unicorn package, versions [,2.0.0rc5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.14% (51st percentile)

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 IDSNYK-PYTHON-UNICORN-2331921
  • published9 Jan 2022
  • disclosed26 Dec 2021
  • creditUnknown

Introduced: 26 Dec 2021

CVE-2021-44078  (opens in a new tab)
CWE-265  (opens in a new tab)

How 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.

References

CVSS Scores

version 3.1