Redisson unsafe deserialization vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| redisson | redisson | before 3.22.0 | 3.22.0 | Patch available | CNA |
| — | org.redisson:redisson (Maven) | before 3.22.0 | 3.22.0 | Patch available | GHSA-4hvc-qwr2-f8rv |
- redisson Vendorredisson Affected before 3.22.0 Fixed in 3.22.0 Patch available CNA
- org.redisson:redisson (Maven) Vendor— Affected before 3.22.0 Fixed in 3.22.0 Patch available GHSA-4hvc-qwr2-f8rv
Remediation
- Fix · CNA redisson (redisson) Fixed in 3.22.0
- Fix · GHSA-4hvc-qwr2-f8rv org.redisson:redisson (Maven) Fixed in 3.22.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Integration Camel K 1 | Affected | No fix planned: Will not fix |
Not affected: 2 products
- Red Hat build of Apache Camel for Spring Boot 3
- Red Hat build of Apache Camel for Spring Boot 4
Timeline
- 2026-10-02 Threatist record created from CVE-2023-42809
- 2026-10-03 Alias added: GHSA-4hvc-qwr2-f8rv
References
Advisory 2
Sources
- CVE-2023-42809 · CVE Program
- CVE-2023-42809 · NVD
- FIRST EPSS
- GHSA-4hvc-qwr2-f8rv · GitHub Advisory Database · CC BY 4.0
- CVE-2023-42809 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences