7.5
HIGH CVSS 3.1
CVE-2022-33099
Luajit Heap Buffer Overflow Vulnerability
Description

An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.

INFO

Published Date :

July 1, 2022, 12:15 p.m.

Last Modified :

Nov. 21, 2024, 7:07 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2022-33099 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Lua lua
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2022-33099 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-33099.

URL Resource
https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
https://lua-users.org/lists/lua-l/2022-05/msg00035.html Exploit Mailing List Vendor Advisory
https://lua-users.org/lists/lua-l/2022-05/msg00042.html Exploit Mailing List Vendor Advisory
https://lua-users.org/lists/lua-l/2022-05/msg00073.html Exploit Mailing List Vendor Advisory
https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error
https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
https://lua-users.org/lists/lua-l/2022-05/msg00035.html Exploit Mailing List Vendor Advisory
https://lua-users.org/lists/lua-l/2022-05/msg00042.html Exploit Mailing List Vendor Advisory
https://lua-users.org/lists/lua-l/2022-05/msg00073.html Exploit Mailing List Vendor Advisory
https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-33099 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-33099 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

yikesoftware

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 6, 2021, 9:21 a.m. This repo has been linked 15 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-33099 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-33099 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
    Added Reference https://lua-users.org/lists/lua-l/2022-05/msg00035.html
    Added Reference https://lua-users.org/lists/lua-l/2022-05/msg00042.html
    Added Reference https://lua-users.org/lists/lua-l/2022-05/msg00073.html
    Added Reference https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ [No types assigned]
    Removed Reference MITRE https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua%2Dstack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
  • Modified Analysis by [email protected]

    Nov. 05, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 04, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 26, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ [No Types Assigned]
  • Reanalysis by [email protected]

    Jul. 19, 2022

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:* versions up to (including) 5.4.4 OR *cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:* versions from (including) 5.4.2 up to (including) 5.4.4
  • Initial Analysis by [email protected]

    Jul. 11, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf No Types Assigned https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf Patch, Third Party Advisory
    Changed Reference Type https://lua-users.org/lists/lua-l/2022-05/msg00035.html No Types Assigned https://lua-users.org/lists/lua-l/2022-05/msg00035.html Exploit, Mailing List, Vendor Advisory
    Changed Reference Type https://lua-users.org/lists/lua-l/2022-05/msg00042.html No Types Assigned https://lua-users.org/lists/lua-l/2022-05/msg00042.html Exploit, Mailing List, Vendor Advisory
    Changed Reference Type https://lua-users.org/lists/lua-l/2022-05/msg00073.html No Types Assigned https://lua-users.org/lists/lua-l/2022-05/msg00073.html Exploit, Mailing List, Vendor Advisory
    Changed Reference Type https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua%2Dstack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error No Types Assigned https://www.lua.org/bugs.html#Lua-stack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error:~:text=Lua%2Dstack%20overflow%20when%20C%20stack%20overflows%20while%20handling%20an%20error Exploit, Patch, Vendor Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:* versions up to (including) 5.4.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.27 }} 0.01%

score

0.50454

percentile