CVE-2021-44078
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 8.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-697
- Record status
- Modified
Affected
- unicorn-engine Unicorn Engine ≤ 1.0.3
- unicorn-engine Unicorn Engine 2.0.0
Attack profile CVSS 3.1 · 8.1
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-44078.md and follow it. Check whether this project is affected by CVE-2021-44078. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24
- https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5
- https://www.unicorn-engine.org/changelog/
- https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24
- https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5
- https://www.unicorn-engine.org/changelog/
References
- https://gist.github.com/jwang-a/cb4b6e9551457aa299066076b836a2cd
- https://github.com/jwang-a/CTF/blob/master/MyChallenges/Pwn/Unicorns_Aisle/UnicornsAisle.pdf
- https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24
- https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5
- https://www.unicorn-engine.org/changelog/
- https://gist.github.com/jwang-a/cb4b6e9551457aa299066076b836a2cd
- https://github.com/jwang-a/CTF/blob/master/MyChallenges/Pwn/Unicorns_Aisle/UnicornsAisle.pdf
- https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24
- https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5
- https://www.unicorn-engine.org/changelog/