Lua up to 5.4.3 Garbage Collector lgc.c use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

A vulnerability was found in Lua up to 5.4.3. It has been rated as critical. This impacts an unknown function of the file lgc.c of the component Garbage Collector. This manipulation causes use after free. The identification of this vulnerability is CVE-2021-44964. It is possible to initiate the attack remotely. There is no exploit available.

Detailsinfo

A vulnerability was found in Lua up to 5.4.3. It has been declared as critical. Affected by this vulnerability is an unknown function of the file lgc.c of the component Garbage Collector. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was shared 03/15/2022. The advisory is shared at lua-users.org. This vulnerability is known as CVE-2021-44964 since 12/13/2021. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 241890 (CBL Mariner 2.0 Security Update: lua / memcached / ntopng (CVE-2021-44964)), which helps to determine the existence of the flaw in a target environment.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at Tenable (241890). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 241890
Nessus Name: CBL Mariner 2.0 Security Update: lua / memcached / ntopng (CVE-2021-44964)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

12/13/2021 🔍
03/15/2022 +92 days 🔍
03/15/2022 +0 days 🔍
07/11/2025 +1214 days 🔍

Sourcesinfo

Advisory: lua-users.org
Status: Confirmed

CVE: CVE-2021-44964 (🔍)
GCVE (CVE): GCVE-0-2021-44964
GCVE (VulDB): GCVE-100-194929

Entryinfo

Created: 03/15/2022 08:22
Updated: 07/11/2025 17:02
Changes: 03/15/2022 08:22 (37), 03/16/2022 18:58 (1), 07/11/2025 17:02 (16)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!