PYSEC-2021-868

Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/unicorn/PYSEC-2021-868.yaml
Aliases
Published
2021-12-26T05:15:00Z
Modified
2023-11-08T04:07:15.451665Z
Details

An issue was discovered in splitregion 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 ucmemmapptr 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.

References

Affected packages

PyPI / unicorn

Package

Name
unicorn

Affected ranges

Type
GIT
Repo
https://github.com/unicorn-engine/unicorn
Events
Introduced
0The exact introduced commit is unknown
Fixed
Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
2.0.0rc1

Affected versions

1.*

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