REDHAT-BUG-2336004: High severity Redis redis vulnerability

Published Jan 6, 2025
·
Updated

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Affected Software

1 affected component
Redis redis<7.4.2, <7.2.7, <6.2.17

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.4.2
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.2.7
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.2.17
  4. Configuration

    Use Redis ACLs to restrict (deny) the EVAL and EVALSHA commands so authenticated users cannot execute Lua scripts.

    Redis ACL command category restrictions = deny EVAL and EVALSHA

Event History

Jan 6, 2025
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2336004?

The severity of REDHAT-BUG-2336004 is critical due to the potential for remote code execution.

2

How do I fix REDHAT-BUG-2336004?

To fix REDHAT-BUG-2336004, upgrade to Redis versions 7.4.2, 7.2.7, or 6.2.17.

3

What causes REDHAT-BUG-2336004?

REDHAT-BUG-2336004 is caused by an authenticated user exploiting a specially crafted Lua script to manipulate the garbage collector.

4

Who is affected by REDHAT-BUG-2336004?

Any organization using vulnerable versions of Redis is affected by REDHAT-BUG-2336004.

5

Is there a workaround for REDHAT-BUG-2336004?

Yes, there is a workaround available to mitigate the risks associated with REDHAT-BUG-2336004 before upgrading.

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