Vulnerability Details : 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 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.
Vulnerability category: Execute code
Products affected by CVE-2021-44078
- cpe:2.3:a:unicorn-engine:unicorn_engine:*:*:*:*:*:*:*:*
- cpe:2.3:a:unicorn-engine:unicorn_engine:2.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:unicorn-engine:unicorn_engine:2.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:unicorn-engine:unicorn_engine:2.0.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:unicorn-engine:unicorn_engine:2.0.0:rc4:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-44078
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-44078
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.9
|
MEDIUM | AV:L/AC:M/Au:N/C:C/I:C/A:C |
3.4
|
10.0
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
1.4
|
6.0
|
NIST |
CWE ids for CVE-2021-44078
-
The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-44078
-
https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5
Comparing 2.0.0-rc4...2.0.0-rc5 · unicorn-engine/unicorn · GitHubPatch;Third Party Advisory
-
https://github.com/jwang-a/CTF/blob/master/MyChallenges/Pwn/Unicorns_Aisle/UnicornsAisle.pdf
CTF/UnicornsAisle.pdf at master · jwang-a/CTF · GitHubThird Party Advisory
-
https://www.unicorn-engine.org/changelog/
Version history – Unicorn – The Ultimate CPU emulatorVendor Advisory
-
https://gist.github.com/jwang-a/cb4b6e9551457aa299066076b836a2cd
CVE-2021-4407 reference · GitHubThird Party Advisory
-
https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24
Fix wrong offset used in split_region · unicorn-engine/unicorn@c733bba · GitHubPatch;Third Party Advisory
Jump to