PatchaPalooza

CVE-2020-24370: ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal as demonstrated by getlocal(32^31).

CVE-2020-24370 is a vulnerability in ldebug.c in Lua 5.4.0 allows a negation overflow and segmentation fault in getlocal and setlocal as demonstrated by getlocal(32^31)., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.3 (Medium). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 3.83% probability of exploitation activity in the next 30 days, higher than 90% of all scored vulnerabilities. Microsoft released the fix on 30 June 2024 in the August 2020 Patch Tuesday. It affects 1 product in 1 product family (Other).

Key facts

CVE ID
CVE-2020-24370
Severity
Medium CVSS 5.3
Microsoft severity
Moderate
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-191
EPSS
3.83% (percentile 90%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
August 2020 Patch Tuesday
Product families
Other

CVSS score and vector

Microsoft scores CVE-2020-24370 at 5.3 (temporal 5.3) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactNone
Integrity impactNone
Availability impactLow

Frequently asked questions (Microsoft)

Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?

One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.

Affected products (1)

Other

ProductSecurity updateTypeFixed buildRestart
19211-17084CBL-Mariner ReleasesSecurity Update5.4.6-1No

Exploitation and detection

Detection and weaponization

Weaponization maturity: Exploit.

Proof-of-concept repositories (2)

NIST NVD data

NVD status
Analyzed
NVD CVSS
5.3 (MEDIUM)
NVD weakness
CWE-191
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
lua 5.2.0all listed versions
lua 5.2.0all listed versions
lua 5.2.0all listed versions
lua 5.2.1all listed versions
lua 5.2.2all listed versions
lua 5.2.3all listed versions
lua 5.3.0all listed versions
lua 5.3.0all listed versions
lua 5.3.0all listed versions
lua 5.3.1all listed versions
lua 5.3.2all listed versions
lua 5.3.3all listed versions
lua 5.3.4all listed versions
lua 5.3.5all listed versions
lua 5.4.0all listed versions
lua 5.4.0all listed versions
lua 5.4.0all listed versions
fedora 31all listed versions
fedora 32all listed versions
debian linux 9.0all listed versions

References

Revision history

VersionDateDescription
1.0Information published.

Sources