CWE
674
Advisory Published
Updated

CVE-2024-31228: Denial-of-service due to unbounded pattern matching in Redis

First published: Mon Oct 07 2024(Updated: )

Last updated 10 March 2025

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
ioredis<6.2.16<7.2.6<7.4.1
debian/redict
7.3.2+ds-1
debian/redis<=5:6.0.16-1+deb11u2
5:6.0.16-1+deb11u5
5:7.0.15-1~deb12u3
5:7.0.15-3
debian/valkey
8.0.2+dfsg1-1

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.

Frequently Asked Questions

  • What is the severity of CVE-2024-31228?

    CVE-2024-31228 is classified as a denial-of-service vulnerability.

  • How do I fix CVE-2024-31228?

    To mitigate CVE-2024-31228, upgrade Redis to a version later than 6.2.16, 7.2.6, or 7.4.1.

  • Who is affected by CVE-2024-31228?

    CVE-2024-31228 affects Redis versions prior to 6.2.16, 7.2.6, and 7.4.1.

  • What commands are impacted by CVE-2024-31228?

    Commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST, and ACL definition are impacted by CVE-2024-31228.

  • How can users exploit CVE-2024-31228?

    Authenticated users can exploit CVE-2024-31228 by sending specially crafted, long string match patterns to trigger a denial-of-service.

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