LiveActive security incident?Get immediate response
CVE Record

CVE-2020-24371: lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory acc...

lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

Lua 5.4.0 has a garbage-collection bug that can cause a memory access violation when collectgarbage is involved. Business impact depends on where Lua 5.4.0 is embedded and whether users or integrations can run Lua code. The sources do not provide CVSS, confirmed exploitation, or affected downstream products.

Executive priority

Handle as a targeted dependency review, not an emergency, unless Lua 5.4.0 processes untrusted scripts in critical systems. Lack of severity scoring and exploitation evidence lowers certainty, but memory access violations in embedded runtimes deserve timely validation.

Technical view

The issue is in lgc.c in Lua 5.4.0. The CVE describes mishandling between garbage-collector barriers and the sweep phase, resulting in a memory access violation involving collectgarbage. Upstream Lua bug tracking and a Lua commit are cited, but the provided bundle does not include exploitability detail or downstream vendor impact.

Likely exposure

Exposure is most likely in software embedding or distributing Lua 5.4.0, especially if Lua scripts are user-supplied or processed from untrusted sources. The provided CVE data lists no CPEs or downstream products, so asset owners must inventory Lua usage directly.

Exploitation context

The bundle does not show CISA KEV listing, public exploitation, or weaponized exploit evidence. Treat this as a memory-safety reliability and potential security issue until the Lua runtime version and script trust boundary are confirmed.

Researcher notes

Focus on version confirmation and trust boundaries. The strongest source facts are Lua 5.4.0, lgc.c, garbage-collector barrier and sweep interaction, collectgarbage involvement, and the upstream commit reference. No CVSS, CWE, CPE, or exploitation evidence is provided.

Mitigation direction

  • Identify applications and services embedding Lua 5.4.0.
  • Review Lua upstream bug 5.4.0-10 and the referenced commit.
  • Apply the upstream fix or upgrade when vendor guidance confirms the fixed version.
  • Prioritize systems that execute untrusted or externally influenced Lua scripts.
  • Monitor downstream product advisories for embedded Lua runtime updates.

Validation and detection

  • Inventory Lua runtime versions in packaged applications and build dependencies.
  • Confirm whether production systems run Lua 5.4.0 specifically.
  • Review whether collectgarbage can be reached through untrusted scripts.
  • Check vendor release notes against the referenced Lua fix commit.
  • Verify patched builds no longer include the vulnerable Lua 5.4.0 code path.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2020-24371 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.