CVE-2023-42809CWE-502

Redisson unsafe deserialization vulnerability

Critical · published October 4, 2023

CVSS v3.1
9.7
EPSS
1%
Percentile
65.4
In the wild
Unconfirmed
What it is

🚨 Before version 3.22.0, Redisson could be a hacker’s playground—just a crafty connection to a malicious server could trigger remote code execution! 🔥 Think of it like a restaurant where the chef blindly trusts every delivery. If a rogue supplier sends tainted ingredients, the chef could end up serving a dangerous dish that poisons everyone! With this vulnerability, an attacker can take over the machine running the Redisson client, executing any code they wish. This means they could steal sensitive data, manipulate systems, or even launch further attacks—an absolutely devastating scenario!

Put simply

Think of it like a restaurant where the chef blindly trusts every delivery. If a rogue supplier sends tainted ingredients, the chef could end up serving a dangerous dish that poisons everyone! This flaw allows attackers to exploit deserialization in Redisson when the client processes unsafe Java objects from the Redis server. Prior to v3.22.0, there was insufficient validation, creating an open door for malicious payloads to execute.

What to do

With this vulnerability, an attacker can take over the machine running the Redisson client, executing any code they wish. This means they could steal sensitive data, manipulate systems, or even launch further attacks—an absolutely devastating scenario! Upgrade Redisson to version 3.22.0 immediately to patch this vulnerability. Additionally, avoid using `Kryo5Codec` due to its ongoing risks and instead, utilize `SerializationCodec` with class restrictions to enhance safety. Review your code to ensure only safe classes are deserialized! You've got this! With these steps, you'll not only fix the issue, but also bolster your security! 🛡️

The record
Technical detail
CVSS v3.1
9.7 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01101 · 65.4th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2023-10-04T19:18Z
EPSS history
Timeline
  • 04 OCT 19:18Z
    Redisson unsafe deserialization vulnerability
    cvelistv5