Advisory

PYSEC-2021-868

Also known as: CVE-2021-44078

Summary

The record has no 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.

Severity

Not rated by the source.

Dates

Published
2021-12-26 05:15 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

unicorn

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.0rc1 (ecosystem)

Fixed versions

2.0.0rc1

Fix

  • Fixed version 2.0.0rc1
    pip install --upgrade unicorn==2.0.0rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences