CVE-2024-31449: Lua library commands may lead to stack overflow and RCE in Redis

Published Oct 7, 2024
·
Updated

Lua library commands may lead to stack overflow and RCE in Redis

Other sources

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

MITRE

Affected Software

10 affected componentsFixes available
Redis redis<6.2.16, <7.2.6, <7.4.1
Redis redis>=2.8.18<6.2.16
Redis redis>=7.2.0<7.2.6
Redis redis=7.4.0
Redis redis=7.4.0-rc1
Redis redis=7.4.0-rc2
Microsoft cbl2 redis 6.2.14-2
Microsoft cbl2 redis 6.2.14-3
Microsoft azl3 valkey 8.0.0-2
Microsoft azl3 valkey 8.0.1-1

Event History

Oct 7, 2024
CVE Published
via MITRE·07:51 PM
Data Sourced
via MITRE·07:51 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 16, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-31449?

CVE-2024-31449 has a high severity level due to the potential for remote code execution.

2

How do I fix CVE-2024-31449?

To mitigate CVE-2024-31449, users should upgrade to Redis versions that are not affected, specifically versions after 6.2.16, 7.2.6, and 7.4.1.

3

Who is affected by CVE-2024-31449?

CVE-2024-31449 affects all versions of Redis prior to 6.2.16, 7.2.6, and 7.4.1, especially those deployed by authenticated users.

4

What can happen if CVE-2024-31449 is exploited?

Exploitation of CVE-2024-31449 can lead to a stack buffer overflow, potentially allowing an attacker to execute arbitrary code remotely.

5

Is there a workaround for CVE-2024-31449?

There is no specific workaround for CVE-2024-31449 other than upgrading to a secure version of Redis.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203