Vulnerability in lua5.3 - Security Update

lua5.3 Updated 02 Oct 2025

Summary

23/06/2023
N/A
Yes i
Unrated
Not published

DLA-3469-1: lua5.3 - security update. Affects lua5.3 versions < 5.3.3-1.1+deb10u1. Fixed in 5.3.3-1.1+deb10u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

lua5.3 is a powerful, light-weight programming language designed for extending applications. It is vulnerable to two security issues that may result in denial of service or potential arbitrary code execution. The vulnerabilities are identified as CVE-2019-6706 and CVE-2020-24370.

Vulnerability Detail

The first vulnerability, CVE-2019-6706, is a heap-user-after-free vulnerability in lua_upvaluejoin() in lapi.c. This vulnerability can be triggered by calling debug.upvaluejoin() with specific arguments, potentially leading to denial of service or arbitrary code execution.

The second vulnerability, CVE-2020-24370, is a negation overflow and segmentation fault issue in getlocal() and setlocal(). It can be demonstrated by calling getlocal(3,2^31), resulting in a segmentation fault.

How To Fix

Minimum fixed version

5.3.3-1.1+deb10u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade lua5.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for these vulnerabilities.

Conclusion

lua5.3 is vulnerable to two security issues, CVE-2019-6706 and CVE-2020-24370, which can result in denial of service or potential arbitrary code execution. It is recommended to upgrade to version 5.3.3-1.1+deb10u1 or later to fix these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for lua5.3 →

Share this vulnerability

FAQ

lua5.3 is a powerful, light-weight programming language designed for extending applications.

CVE-2019-6706 is a heap-user-after-free vulnerability in lua_upvaluejoin() in lapi.c that can result in denial of service or arbitrary code execution.

CVE-2020-24370 is a negation overflow and segmentation fault issue in getlocal() and setlocal() that can cause a segmentation fault.

To fix these vulnerabilities, upgrade your lua5.3 packages to version 5.3.3-1.1+deb10u1 or later.

No, there are no known workarounds for these vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for lua5.3.

How To Fix

Minimum fixed version

5.3.3-1.1+deb10u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade lua5.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback