synced 5 MIN AGO
01 Record

CVE-2024-31449

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

HighPUBLISHEDCNA: GitHub_M
CNA base score7.0 CVSS v3.xCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
4.45% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 91.3% of scored records. A rank, not a probability.
NVD base score
8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-10-07 19:51Z2 YR AGO
Last updated
2024-11-19 04:55Z1 YR AGO
Reserved
2024-04-03
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
High (CVSS 7.0)
CNA CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-20Improper Input ValidationClass
  • CWE-121Stack-based Buffer OverflowVariant
  • CWE-787Out-of-bounds WriteBase
Data version
5.1
Document digest
fef0f2ceed7e747ecf7c1780a4f0b058fdbbfbea33822a5a34ec6d46bb7b3823

05 Affected products

VendorProductVersionsPlatforms
redisredis>= 2.6, < 6.2.16, >= 7.0.0, < 7.2.6, >= 7.3.0, < 7.4.1, 2.6 to < 6.2.16, 7.0.0 to < 7.2.6, 7.3.0 to < 7.4.1—

06 References

07 Fixed in

AlmaLinux 8

  • redis
    Fixed in 6.2.17-1.module_el8.10.0+3946+3de613d5
  • redis-devel
    Fixed in 6.2.17-1.module_el8.10.0+3946+3de613d5
  • redis-doc
    Fixed in 6.2.17-1.module_el8.10.0+3946+3de613d5

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • redis
    Fixed

    A version is affected if any line below covers it.

    • Affected before 6.2.17-1.el9_5
    • Affected before 7.2.6-1.module_el9.5.0+130+36ae7635
  • redis-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 6.2.17-1.el9_5
    • Affected before 7.2.6-1.module_el9.5.0+130+36ae7635
  • redis-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 6.2.17-1.el9_5
    • Affected before 7.2.6-1.module_el9.5.0+130+36ae7635

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • redis
    Fixed in 6.2.17-1.module_el8.10.0+3946+3de613d5
  • redis-devel
    Fixed in 6.2.17-1.module_el8.10.0+3946+3de613d5
  • redis-doc
    Fixed in 6.2.17-1.module_el8.10.0+3946+3de613d5

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • redis
    Fixed

    A version is affected if any line below covers it.

    • Affected before 6.2.17-1.el9_5
    • Affected before 7.2.6-1.module_el9.5.0+130+36ae7635
  • redis-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 6.2.17-1.el9_5
    • Affected before 7.2.6-1.module_el9.5.0+130+36ae7635
  • redis-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 6.2.17-1.el9_5
    • Affected before 7.2.6-1.module_el9.5.0+130+36ae7635

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • redis
    Fixed in 5:7.0.15-1~deb12u2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • redis
    Fixed in 5:7.0.15-2
  • valkey
    Fixed in 8.0.1+dfsg1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • redict
    Fixed in 7.3.1+ds-1
  • redis
    Fixed in 5:7.0.15-2
  • valkey
    Fixed in 8.0.1+dfsg1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • lua-bitop
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • lua-bitop
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • lua-bitop
    No fix yet
  • redis
    Fixed in 5:7.0.15-1ubuntu0.24.04.4

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • lua-bitop
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • lua-bitop
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • lua-bitop
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • redis
    Fixed in 2:3.0.6-1ubuntu0.4+esm5
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • redis
    Fixed in 5:4.0.9-1ubuntu0.2+esm7
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • lua-bitop
    Fixed in 1.0.2-5ubuntu0.20.04.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • lua-bitop
    Fixed in 1.0.2-5ubuntu0.22.04.1~esm2
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.