Description

singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.

INFO

Published Date :

April 8, 2022, 6:15 a.m.

Last Modified :

Nov. 21, 2024, 6:57 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

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

Affected Products

The following products are affected by CVE-2022-28805 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
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-28805.

URL Resource
https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ Third Party Advisory
https://lua-users.org/lists/lua-l/2022-02/msg00001.html Exploit Mailing List Third Party Advisory
https://lua-users.org/lists/lua-l/2022-02/msg00070.html Exploit Mailing List Third Party Advisory
https://lua-users.org/lists/lua-l/2022-04/msg00009.html Exploit Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202305-23 Third Party Advisory
https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ Third Party Advisory
https://lua-users.org/lists/lua-l/2022-02/msg00001.html Exploit Mailing List Third Party Advisory
https://lua-users.org/lists/lua-l/2022-02/msg00070.html Exploit Mailing List Third Party Advisory
https://lua-users.org/lists/lua-l/2022-04/msg00009.html Exploit Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202305-23 Third Party Advisory

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).

The CBuild-ng compilation system is a more powerful and flexible build system than Buildroot, and faster and succincter than Yocto. It mainly consists: a task parsing management executor, configured with menuconfig, run by make; a compilation tool comparable to CMake; a set of scripts that handle the entire process of software compilation.

Makefile Shell Python Lex Yacc C BitBake HTML

Updated: 4 months ago
3 stars 0 fork 0 watcher
Born at : March 5, 2023, 2:44 a.m. This repo has been linked 1 different CVEs too.

The CBuild compilation system is a more powerful and flexible build system than Buildroot, and faster and succincter than Yocto.

Lex Yacc C Shell Makefile Python

Updated: 1 year, 4 months ago
1 stars 0 fork 0 watcher
Born at : May 16, 2022, 11:28 a.m. This repo has been linked 1 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-28805 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-28805 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/1f3c6f4534c6411313361697d98d1145a1f030fa
    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-02/msg00001.html
    Added Reference https://lua-users.org/lists/lua-l/2022-02/msg00070.html
    Added Reference https://lua-users.org/lists/lua-l/2022-04/msg00009.html
    Added Reference https://security.gentoo.org/glsa/202305-23
  • Modified Analysis by [email protected]

    Jun. 20, 2024

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ No Types Assigned https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/ Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/202305-23 No Types Assigned https://security.gentoo.org/glsa/202305-23 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:* versions from (including) 5.4.0 up to (including) 5.4.4 OR *cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:* versions from (including) 5.4.0 up to (excluding) 5.4.5
  • 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://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://lists.fedoraproject.org/archives/list/[email protected]/message/RJNJ66IFDUKWJJZXHGOLRGIA3HWWC36R/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/UHYZOEFDVLVAD6EEP4CDW6DNONIVVHPA/
  • CVE Modified by [email protected]

    May. 03, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202305-23 [No Types Assigned]
  • Reanalysis by [email protected]

    Nov. 30, 2022

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

    Nov. 09, 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]
  • CVE Modified by [email protected]

    Jul. 13, 2022

    Action Type Old Value New Value
    Changed Description singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code. singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.
  • Reanalysis by [email protected]

    Jul. 08, 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.0 up to (excluding) 5.4.4
  • Initial Analysis by [email protected]

    Apr. 14, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
    Changed Reference Type https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa No Types Assigned https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa Patch, Third Party Advisory
    Changed Reference Type https://lua-users.org/lists/lua-l/2022-02/msg00001.html No Types Assigned https://lua-users.org/lists/lua-l/2022-02/msg00001.html Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://lua-users.org/lists/lua-l/2022-02/msg00070.html No Types Assigned https://lua-users.org/lists/lua-l/2022-02/msg00070.html Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://lua-users.org/lists/lua-l/2022-04/msg00009.html No Types Assigned https://lua-users.org/lists/lua-l/2022-04/msg00009.html Exploit, Mailing List, Third Party Advisory
    Added CWE NIST CWE-125
    Added CPE Configuration OR *cpe:2.3:a:lua:lua:*:*:*:*:*:*:*:* versions up to (including) 5.4.4
  • CVE Modified by [email protected]

    Apr. 09, 2022

    Action Type Old Value New Value
    Added Reference https://lua-users.org/lists/lua-l/2022-04/msg00009.html [No Types Assigned]
    Added Reference https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa [No Types Assigned]
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.
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-28805 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-28805 weaknesses.

Exploit Prediction

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

0.23 }} 0.02%

score

0.60382

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability