The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-42809

CVE-2023-42809: Redisson Java Client RCE Vulnerability

CVE-2023-42809 is a remote code execution vulnerability in Redisson Java Redis client caused by unsafe deserialization. Attackers can exploit this to execute arbitrary code on affected systems. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: February 11, 2026

CVE-2023-42809 Overview

CVE-2023-42809 is an insecure deserialization vulnerability in Redisson, a popular Java Redis client that uses the Netty framework. Prior to version 3.22.0, Redisson deserializes Java objects received from Redis servers without proper validation, allowing attackers who can intercept or manipulate Redis communications to execute arbitrary code on client machines.

Critical Impact

Attackers who trick clients into communicating with a malicious Redis server can include specially crafted objects that, once deserialized, force the client to execute arbitrary code, potentially leading to complete system compromise.

Affected Products

  • Redisson versions prior to 3.22.0
  • Applications using Kryo5Codec as deserialization codec (remains vulnerable post-fix)
  • Applications using SerializationCodec without allowlist configuration

Discovery Timeline

  • 2023-10-04 - CVE-2023-42809 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-42809

Vulnerability Analysis

This vulnerability stems from unsafe deserialization practices in the Redisson Java Redis client. When Redisson receives messages from a Redis server, it deserializes Java objects embedded in these responses without performing adequate validation or restricting which classes can be instantiated during the deserialization process.

Insecure deserialization vulnerabilities (CWE-502) are particularly dangerous in Java applications because the deserialization process can trigger code execution through gadget chains—sequences of existing classes in the application's classpath that, when combined during deserialization, lead to arbitrary code execution. This attack requires no authentication and can be executed remotely when an attacker can position themselves as a malicious Redis server or perform a man-in-the-middle attack on Redis communications.

The fix introduces an allowlist mechanism for SerializationCodec that restricts which classes can be deserialized. However, it's critical to note that Kryo5Codec remains vulnerable due to its setRegistrationRequired(false) configuration, while KryoCodec is considered safe to use.

Root Cause

The root cause is the lack of class validation during Java object deserialization. The Redisson client trusted all incoming serialized objects from Redis servers and would instantiate any class present in the serialized data stream. This violates the security principle of never trusting untrusted input, especially when that input can control object instantiation.

Attack Vector

The attack requires an adversary to position themselves between the Redisson client and a legitimate Redis server, or to trick the client into connecting to a malicious server entirely. Once this is achieved, the attacker can craft malicious serialized Java objects and include them in Redis responses. When the vulnerable Redisson client deserializes these objects, it executes attacker-controlled code.

The security patch introduces an allowedClasses parameter to restrict deserialization:

java
*/
package org.redisson.codec;

-import java.io.IOException;
-import java.io.InputStream;
-import java.io.ObjectInputStream;
-import java.io.ObjectStreamClass;
+import java.io.*;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.List;
+import java.util.Set;

/**
 *

Source: GitHub Commit

The corresponding changes in SerializationCodec.java add the allowlist functionality:

java
*/
package org.redisson.codec;

-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
-
+import io.netty.buffer.ByteBuf;
+import io.netty.buffer.ByteBufAllocator;
+import io.netty.buffer.ByteBufInputStream;
+import io.netty.buffer.ByteBufOutputStream;
import org.redisson.client.codec.BaseCodec;
import org.redisson.client.handler.State;
import org.redisson.client.protocol.Decoder;
import org.redisson.client.protocol.Encoder;

-import io.netty.buffer.ByteBuf;
-import io.netty.buffer.ByteBufAllocator;
-import io.netty.buffer.ByteBufInputStream;
-import io.netty.buffer.ByteBufOutputStream;
+import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
+import java.util.Set;

/**
 * JDK's serialization codec.

Source: GitHub Commit

Detection Methods for CVE-2023-42809

Indicators of Compromise

  • Unexpected outbound connections from application servers to unknown Redis endpoints
  • Unusual process spawning from Java applications using Redisson
  • Network traffic to Redis ports (default 6379) containing suspicious serialized Java objects
  • Log entries indicating deserialization errors or unexpected class loading

Detection Strategies

  • Monitor Java application logs for ObjectInputStream exceptions or unusual class instantiation patterns
  • Implement network monitoring to detect Redis traffic to unauthorized endpoints
  • Use Java security managers or deserialization filters to log and block suspicious class loading
  • Deploy application-level monitoring for unexpected system command execution originating from Java processes

Monitoring Recommendations

  • Enable verbose logging for Redisson client connections and codec operations
  • Implement network segmentation monitoring between application servers and Redis infrastructure
  • Configure intrusion detection systems to alert on Redis protocol anomalies
  • Monitor for known deserialization gadget chain class names in network traffic

How to Mitigate CVE-2023-42809

Immediate Actions Required

  • Upgrade Redisson to version 3.22.0 or later immediately
  • Audit existing codebase for usage of Kryo5Codec and migrate to KryoCodec
  • Configure SerializationCodec with explicit allowlists using the constructor SerializationCodec(ClassLoader classLoader, Set<String> allowedClasses)
  • Ensure Redis server communications occur over trusted, encrypted channels

Patch Information

The vulnerability is addressed in Redisson version 3.22.0. The patch adds an optional allowlist mechanism to SerializationCodec through the allowedClasses parameter. Security researchers recommend making the allowlist behavior the default. The fix is available in the GitHub commit fe6a2571801656ff1599ef87bdee20f519a5d1fe.

For additional technical details, refer to the GitHub Security Advisory GHSL-2023-053.

Workarounds

  • Do NOT use Kryo5Codec as it remains vulnerable even after the patch
  • Use KryoCodec instead, which is safe for deserialization
  • Implement network-level controls to ensure Redis connections only go to trusted servers
  • Apply Java deserialization filters at the JVM level as an additional defense layer
bash
# Example: Configuring Java deserialization filter (JEP 290)
# Add to JVM startup arguments
java -Djdk.serialFilter=!org.apache.commons.collections.*;!org.apache.xalan.* \
     -jar your-application.jar

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRedisson

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.92%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Changes
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English