{"cve":"CVE-2023-42809","nvd":{"published":"2023-10-04T20:15:10.263","modified":"2026-06-17T06:24:33.710","status":"Modified","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.\n\nSome 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-502"],"references":["https://github.com/redisson/redisson/commit/fe6a2571801656ff1599ef87bdee20f519a5d1fe","https://securitylab.github.com/advisories/GHSL-2023-053_Redisson/","https://github.com/redisson/redisson/commit/fe6a2571801656ff1599ef87bdee20f519a5d1fe","https://securitylab.github.com/advisories/GHSL-2023-053_Redisson/"],"products":["redisson:redisson"],"source":"nvd","synced_at":"2026-10-19T21:39:34.467980132+00:00"},"epss":{"cve":"CVE-2023-42809","score":0.01101,"percentile":0.65697,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4hvc-qwr2-f8rv","url":"https://osv.dev/vulnerability/GHSA-4hvc-qwr2-f8rv","summary":"Redisson vulnerable to Deserialization of Untrusted Data","modified":"2024-08-05T21:58:56.532751Z","packages":[{"ecosystem":"Maven","name":"org.redisson:redisson","purl":"pkg:maven/org.redisson/redisson","ranges":["<3.22.0"],"fixed":["3.22.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}