ubuntu-cve-2021-44964
Vulnerability from osv_ubuntu
Published
2022-03-14 15:15
Modified
2026-05-20 14:53
Summary
Details

Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblua5.2-0",
            "binary_version": "5.2.3-1"
          },
          {
            "binary_name": "lua5.2",
            "binary_version": "5.2.3-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "lua5.2",
        "purl": "pkg:deb/ubuntu/lua5.2@5.2.3-1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.2.2-1",
        "5.2.2-2",
        "5.2.2-3",
        "5.2.3-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblua50",
            "binary_version": "5.0.3-7"
          },
          {
            "binary_name": "liblualib50",
            "binary_version": "5.0.3-7"
          },
          {
            "binary_name": "lua50",
            "binary_version": "5.0.3-7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "lua50",
        "purl": "pkg:deb/ubuntu/lua50@5.0.3-7?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.0.3-7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblua5.2-0",
            "binary_version": "5.2.4-1ubuntu1"
          },
          {
            "binary_name": "lua5.2",
            "binary_version": "5.2.4-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "lua5.2",
        "purl": "pkg:deb/ubuntu/lua5.2@5.2.4-1ubuntu1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.2.4-1",
        "5.2.4-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblua5.3-0",
            "binary_version": "5.3.1-1ubuntu2.1"
          },
          {
            "binary_name": "lua5.3",
            "binary_version": "5.3.1-1ubuntu2.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "lua5.3",
        "purl": "pkg:deb/ubuntu/lua5.3@5.3.1-1ubuntu2.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.3.1-1",
        "5.3.1-1ubuntu2",
        "5.3.1-1ubuntu2.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblua50",
            "binary_version": "5.0.3-8"
          },
          {
            "binary_name": "liblualib50",
            "binary_version": "5.0.3-8"
          },
          {
            "binary_name": "lua50",
            "binary_version": "5.0.3-8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "lua50",
        "purl": "pkg:deb/ubuntu/lua50@5.0.3-8?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.0.3-8"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblua50",
            "binary_version": "5.0.3-8build1"
          },
          {
            "binary_name": "liblualib50",
            "binary_version": "5.0.3-8build1"
          },
          {
            "binary_name": "lua50",
            "binary_version": "5.0.3-8build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "lua50",
        "purl": "pkg:deb/ubuntu/lua50@5.0.3-8build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.0.3-8build1"
      ]
    }
  ],
  "aliases": [],
  "details": "Use after free in garbage collector and finalizer of lgc.c in Lua interpreter 5.4.0~5.4.3 allows attackers to perform Sandbox Escape via a crafted script file.",
  "id": "UBUNTU-CVE-2021-44964",
  "modified": "2026-05-20T14:53:37Z",
  "published": "2022-03-14T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-44964"
    },
    {
      "type": "REPORT",
      "url": "http://lua-users.org/lists/lua-l/2021-12/msg00030.html"
    },
    {
      "type": "REPORT",
      "url": "http://lua-users.org/lists/lua-l/2021-12/msg00015.html"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Lua-Project/lua-5.4.4-sandbox-escape-with-new-vulnerability"
    },
    {
      "type": "REPORT",
      "url": "http://lua-users.org/lists/lua-l/2021-11/msg00186.html"
    },
    {
      "type": "REPORT",
      "url": "http://lua-users.org/lists/lua-l/2021-12/msg00007.html"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-44964"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-44964"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…