CVE-2023-28425:Redis MSETNX Command Denial of Service Vulnerability

splash
Back

Description Preview

In Redis versions 7.0.8 to 7.0.9, authenticated users can exploit the MSETNX command to trigger a runtime assertion, causing the Redis server process to terminate. This vulnerability allows authenticated attackers to perform a denial of service attack against Redis servers.

Overview

CVE-2023-28425 affects Redis, an in-memory database that persists on disk. The vulnerability exists in the implementation of the MSETNX command, which allows setting multiple key-value pairs atomically only if none of the keys already exist. When this command is executed with specific parameters by an authenticated user, it can trigger a runtime assertion that causes the Redis server to crash. This vulnerability impacts Redis versions starting from 7.0.8 and prior to 7.0.10. The issue allows malicious authenticated users to cause denial of service by terminating the Redis server process, potentially affecting application availability and data integrity.

Remediation

To remediate this vulnerability, Redis users should upgrade to version 7.0.10 or later, which contains the fix for this issue. The patch was implemented in commit 48e0d4788434833b47892fe9f3d91be7687f25c9.

If immediate upgrade is not possible, consider implementing the following mitigations:

  1. Restrict Redis access to trusted users only
  2. Implement network-level controls to limit who can connect to Redis instances
  3. Consider disabling the MSETNX command if it's not required for your application
  4. Monitor Redis server logs for unexpected terminations that might indicate exploitation attempts

References

  1. Redis GitHub Security Advisory: https://github.com/redis/redis/security/advisories/GHSA-mvmm-4vq6-vw8c
  2. Redis 7.0.10 Release Notes: https://github.com/redis/redis/releases/tag/7.0.10
  3. Fix Commit: https://github.com/redis/redis/commit/48e0d4788434833b47892fe9f3d91be7687f25c9
  4. NetApp Security Advisory: https://security.netapp.com/advisory/ntap-20230413-0005/

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Management of Companies & Enterprises
    Management of Companies & Enterprises
  2. Accommodation & Food Services
    Accommodation & Food Services
  3. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  4. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  5. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  6. Construction
    Construction
  7. Educational Services
    Educational Services
  8. Finance and Insurance
    Finance and Insurance
  9. Health Care & Social Assistance
    Health Care & Social Assistance
  10. Information
    Information
  11. Manufacturing
    Manufacturing
  12. Mining
    Mining
  13. Other Services (except Public Administration)
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  15. Public Administration
    Public Administration
  16. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  17. Retail Trade
    Retail Trade
  18. Transportation & Warehousing
    Transportation & Warehousing
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database