# CVE-2023-42809: Redisson unsafe deserialization vulnerability

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-04T19:18:39.875Z
- Modified: 2026-06-17T06:24:33.710Z
- Also known as: GHSA-4hvc-qwr2-f8rv
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- redisson redisson: < 3.22.0; before 3.22.0
- org.redisson:redisson (Maven): before 3.22.0

## Every score

- GitHub_M: CVSS:3.1 9.7 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: 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`

## References

- <https://securitylab.github.com/advisories/GHSL-2023-053_Redisson/> (exploit, third-party-advisory)
- <https://github.com/redisson/redisson/commit/fe6a2571801656ff1599ef87bdee20f519a5d1fe> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42809> (advisory)
- <https://github.com/redisson/redisson> (package)
- <https://securitylab.github.com/advisories/GHSL-2023-053_Redisson> (advisory)

## Sources

- CVE List: [CVE-2023-42809](https://www.cve.org/CVERecord?id=CVE-2023-42809), CVE Terms of Use, modified 2024-09-19
- GitHub Advisory Database: [GHSA-4hvc-qwr2-f8rv](https://github.com/advisories/GHSA-4hvc-qwr2-f8rv), CC-BY-4.0, modified 2024-08-05
- NVD: [CVE-2023-42809](https://nvd.nist.gov/vuln/detail/CVE-2023-42809), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-42809 · Whole record: https://cve.day/CVE-2023-42809.json · Rebuilt by cve.day 2026-11-25T22:58:28.465Z
