CVE-2021-44078 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 i...
HighCVSS 8.1
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi unicorn(PyPI) | < 2.0.0rc1; = 1.0.0; = 1.0.0rc2; = 1.0.0rc3 +9 more | 2.0.0rc1 | Fixed |
| unicorn-engine unicorn engine | <= 1.0.3; = 2.0.0-rc1; = 2.0.0-rc2; = 2.0.0-rc3 +1 more | after 1.0.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi unicorn(PyPI) | < 2.0.0rc1 | 2.0.0rc1 |
| pypi unicorn(PyPI) | = 1.0.0 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.0rc2 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.0rc3 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.1 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.2 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.2rc1 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.2rc2 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.2rc3 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.2rc4 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.2rc5 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.2rc6 | No fix listed |
| pypi unicorn(PyPI) | = 1.0.3 | No fix listed |
| unicorn-engine unicorn engine | <= 1.0.3 | No fix listed |
| unicorn-engine unicorn engine | = 2.0.0-rc1 | No fix listed |
| unicorn-engine unicorn engine | = 2.0.0-rc2 | No fix listed |
| unicorn-engine unicorn engine | = 2.0.0-rc3 | No fix listed |
| unicorn-engine unicorn engine | = 2.0.0-rc4 | No fix listed |
References
- gist.github.com third-party-advisory
- github.com patch third-party-advisory
- github.com third-party-advisory
- github.com patch third-party-advisory
- www.unicorn-engine.org vendor-advisory