Critical Security Update for Lua Package: CVE-2021-43519 and CVE-2021-44964

lua Updated 02 Oct 2025

Summary

16/09/2024
N/A
Yes i
High
7.0

RHSA-2023:1211: Red Hat Security Advisory: lua security update. Affects lua versions < 0:5.4.4-1.el9_0.1. Fixed in 0:5.4.4-1.el9_0.1. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Lua is a powerful, efficient, lightweight, embeddable scripting language commonly used in game development, web applications, and other software. It provides a simple and flexible API for integrating with C and C++ programs. However, vulnerabilities in Lua can lead to severe security risks, making it crucial to maintain updated versions.

Vulnerability Detail

The vulnerabilities identified as CVE-2021-43519 and CVE-2021-44964 in the Lua package could allow attackers to exploit weaknesses in the code execution process, potentially leading to unauthorized access, data corruption, or denial of service. These vulnerabilities arise from improper handling of certain inputs, which can be manipulated by an attacker to execute arbitrary code or crash the application.

How To Fix

Minimum fixed version

0:5.4.4-1.el9_0.1

This is the first release that contains the fix.

sudo dnf update lua

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

Workaround

If immediate updating is not possible, consider implementing input validation and sanitization in your applications that utilize Lua to mitigate potential exploitation of these vulnerabilities.

Conclusion

The vulnerabilities in the Lua package pose significant security risks that can be mitigated by updating to the latest patched version. It is essential for developers and system administrators to remain vigilant and apply updates promptly to safeguard their applications.

See every vulnerability recorded for lua →

Share this vulnerability

FAQ

These are identifiers for specific vulnerabilities found in the Lua package that could allow attackers to execute arbitrary code or cause denial of service.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

The CVSS score for these vulnerabilities is 7.0, indicating a high severity level.

Implement input validation and sanitization in your applications to reduce the risk of exploitation until you can apply the update.

Related vulnerabilities

Recent vulnerabilities recorded for lua.

How To Fix

Minimum fixed version

0:5.4.4-1.el9_0.1

This is the first release that contains the fix.

sudo dnf update lua

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