Skip to content
Fencer Vulns
medium 5.3

CVE-2020-24371 json

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

published 2020-08-17 6 y ago modified 2026-09-08 2 mo ago also BIT-lua-2020-24371 , EUVD-2020-17103

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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

Patch / fix

  • bitnami lua 5.4.1
  • lua5.4 Debian 14, Debian 13, Debian 12 5.4.1-1

debian advisories DEBIAN-CVE-2020-24371

  • lua53 SLE Module for Basesystem 15 SP3, SLE Module for Basesystem 15 SP2, SLE Micro 5.0 5.3.6-3.6.1

suse advisories SUSE-SU-2021:2196-1

  • lua55 openSUSE Tumbleweed 5.5.0~beta1-1.1
  • lua53 openSUSE Leap 15.3 5.3.6-3.6.1
  • lua53 openSUSE Leap 15.2 5.3.6-lp152.5.3.1

opensuse advisories openSUSE-SU-2025:15401-1openSUSE-SU-2021:2196-1openSUSE-SU-2021:0962-1

  • ceph Azure Linux 3.0 18.2.2-3

azure linux advisories AZL-40962

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-24371 updated cvss 7.3

lua: mishandles the interaction between barriers and the sweep phase leading to a memory access violation involving collectgarbage

  • Red Hat Enterprise Linux 6 lua Red Hat Enterprise Linux 7 lua Red Hat Enterprise Linux 8 lua, lua-libs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.75% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • lua.org https://www.lua.org/bugs.html#5.4.0-10 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
OSV 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
bitnami lua
>=5.4.0, <5.4.1
5.4.1

Classification

Weakness
  • CWE-763 Release of Invalid Pointer or Reference

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.