cve.bz

CVE-2023-42809 redisson redisson: Deserialization of Untrusted Data

8.8 highExploit referenceEPSS 1.1%Fix available

High (8.8) in redisson redisson. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.redisson:redisson 3.22.0.

On this page
Redisson is a Java Redis client that uses the Netty framework. Prior to version 3.22.0, some of the messages received from the Redis server contain Java objects that the client deserializes without further validation. Attackers that manage to trick clients into communicating with a malicious server can include especially crafted objects in its responses that, once deserialized by the client, force it to execute arbitrary code. This can be abused to take control of the machine the client is running in. Version 3.22.0 contains a patch for this issue. Some post-fix advice is available. Do NOT use `Kryo5Codec` as deserialization codec, as it is still vulnerable to arbitrary object deserialization due to the `setRegistrationRequired(false)` call. On the contrary, `KryoCodec` is safe to use. The fix applied to `SerializationCodec` only consists of adding an optional allowlist of class names, even though making this behavior the default is recommended. When instantiating `SerializationCodec` please use the `SerializationCodec(ClassLoader classLoader, Set<String> allowedClasses)` constructor to restrict the allowed classes for deserialization.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-09-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-42809 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-42809?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-42809?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-42809 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redisson:redissonbefore 3.22.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4hvc-qwr2-f8rvMavenorg.redisson:redisson<3.22.03.22.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in Redisson is a important severity issue because it directly enables remote code execution (RCE) by allowing an attacker to inject malicious objects into the deserialization process. Since deserialization occurs automatically and without proper validation, an attacker can exploit this flaw to execute arbitrary code on the client machine, potentially leading to full system compromise. The impact is particularly severe as it bypasses traditional security controls and can be leveraged to escalate privileges, exfiltrate sensitive data, or disrupt services, making it a significant threat to the security and integrity of affected systems.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel for Spring Boot 3org.redisson/redissonNot affected
Red Hat build of Apache Camel for Spring Boot 4org.redisson/redissonNot affected
Red Hat Integration Camel K 1org.redisson/redissonWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-42809.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON