PYSEC-2021-868

    Dashboard / Vulnerabilities / PYSEC-2021-868

    PYSEC-2021-868

    Published: 26 Dec 2021Last Modified: 8 Nov 2023

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: unicorn

    Purl: pkg:pypi/unicorn

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    1.0.0
    1.0.0rc2
    1.0.0rc3
    1.0.1
    1.0.2
    1.0.2rc1
    1.0.2rc2
    1.0.2rc3
    1.0.2rc4
    1.0.2rc5
    1.0.2rc6
    1.0.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2021-868 | CVE-DB