8.8
CWE
190 119 120
Advisory Published
CVE Published
Updated

CVE-2021-21309: Integer overflow on 32-bit systems

First published: Mon Feb 22 2021(Updated: )

An integer overflow was found in Redis. Redis 4.0 or newer uses a configurable limit for the maximum supported bulk input size. The default size is 512MB which is a safe value for all platforms. Authenticated Redis users could increase the bulk input size by changing the "proto-max-bulk-len" configuration parameter, leading to heap corruption and potentially remote code execution.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Redislabs Redis>=4.0<5.0.11
Redislabs Redis>=6.0.0<6.0.11

Remedy

As recommended in the upstream advisory, this issue can be mitigated by preventing clients from directly executing `CONFIG SET`: * Using Redis 6.0 or newer, ACL configuration can be used to block the command. * Using older versions, the `rename-command` configuration directive can be used to rename the command to a random string unknown to users, rendering it inaccessible.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-21309?

    CVE-2021-21309 is an integer overflow vulnerability found in Redis versions 4.0 or newer.

  • How can the CVE-2021-21309 vulnerability be exploited?

    The CVE-2021-21309 vulnerability can be exploited to corrupt the heap and potentially result in remote code execution.

  • Which versions of Redis are affected by CVE-2021-21309?

    Redis versions 4.0 or newer are affected by CVE-2021-21309.

  • What is the severity of CVE-2021-21309?

    CVE-2021-21309 has a severity rating of 8.8 (high).

  • How do I fix the CVE-2021-21309 vulnerability?

    To fix the CVE-2021-21309 vulnerability, update Redis to version 5.0.11 if using version 5.0.x, or update to version 6.0.11 if using version 6.0.x. Alternatively, update to version 6.2.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203