CVE-2024-31449

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
cpe:2.3:a:redis:redis:7.4.0:-:*:*:*:*:*:*
cpe:2.3:a:redis:redis:7.4.0:rc1:*:*:*:*:*:*
cpe:2.3:a:redis:redis:7.4.0:rc2:*:*:*:*:*:*

History

04 Sep 2025, 19:03

Type Values Removed Values Added
CPE cpe:2.3:a:redis:redis:7.4.0:rc1:*:*:*:*:*:*
cpe:2.3:a:redis:redis:7.4.0:rc2:*:*:*:*:*:*
cpe:2.3:a:redis:redis:7.4.0:-:*:*:*:*:*:*
References () https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5 - Third Party Advisory () https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5 - Vendor Advisory

04 Sep 2025, 18:31

Type Values Removed Values Added
CPE cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
References () https://github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9 - () https://github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9 - Patch
References () https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5 - () https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5 - Third Party Advisory
First Time Redis
Redis redis

Information

Published : 2024-10-07 20:15

Updated : 2025-09-04 19:03


NVD link : CVE-2024-31449

Mitre link : CVE-2024-31449

CVE.ORG link : CVE-2024-31449


JSON object : View

Products Affected

redis

  • redis
CWE
CWE-20

Improper Input Validation

CWE-121

Stack-based Buffer Overflow