CVE-2023-42809 json
Redisson unsafe deserialization vulnerability
published 3y ago modified 4mo ago also GHSA-4hvc-qwr2-f8rv , EUVD-2024-2493
- cvss
- 9.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.redisson:redisson 3.22.0
- redisson redisson 3.22.0
Is CVE-2023-42809 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-42809 updated cvss 8.8
org.redisson:redisson: Redisson vulnerable to Deserialization of Untrusted Data
-
Red Hat Integration Camel K 1 org.redisson/redisson org.redisson/redissonaffected: workaround, no fix planned “Will not fix”
-
Red Hat build of Apache Camel for Spring Boot 3 org.redisson/redisson org.redisson/redisson Red Hat build of Apache Camel for Spring Boot 4 org.redisson/redisson org.redisson/redissonnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
1.10% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2023-053_Redisson/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.redisson:redisson | <3.22.0 |
3.22.0 |
Affected products
- redisson redisson
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/redisson/redisson/commit/fe6a2571801656ff1599ef87bdee20f519a5d1fe
web, patch
-
securitylab.github.com
/advisories/GHSL-2023-053_Redisson/
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-42809
advisory
-
github.com
/redisson/redisson
package
-
securitylab.github.com
/advisories/GHSL-2023-053_Redisson
advisory
Sources
- CVE List CVE-2023-42809
- GitHub Advisory GHSA-4hvc-qwr2-f8rv
- NVD CVE-2023-42809
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.