PYSEC-2021-868

Vulnerability from pysec - Published: 2021-12-26 05:15 - Updated: 2022-01-07 19:23
VLAI?
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.

Impacted products
Name purl
unicorn pkg:pypi/unicorn
Aliases

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "unicorn",
        "purl": "pkg:pypi/unicorn"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c733bbada356b0373fa8aa72c044574bb855fd24"
            }
          ],
          "repo": "https://github.com/unicorn-engine/unicorn",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.0rc1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [
    "CVE-2021-44078"
  ],
  "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.",
  "id": "PYSEC-2021-868",
  "modified": "2022-01-07T19:23:22.112610Z",
  "published": "2021-12-26T05:15:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gist.github.com/jwang-a/cb4b6e9551457aa299066076b836a2cd"
    },
    {
      "type": "WEB",
      "url": "https://github.com/unicorn-engine/unicorn/compare/2.0.0-rc4...2.0.0-rc5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jwang-a/CTF/blob/master/MyChallenges/Pwn/Unicorns_Aisle/UnicornsAisle.pdf"
    },
    {
      "type": "FIX",
      "url": "https://github.com/unicorn-engine/unicorn/commit/c733bbada356b0373fa8aa72c044574bb855fd24"
    },
    {
      "type": "WEB",
      "url": "https://www.unicorn-engine.org/changelog/"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…