Skip to main content

CVE-2023-42809 — Vulnerability in org.redisson:redisson — CVE Details

CRITICAL

Redisson vulnerable to Deserialization of Untrusted Data

Published August 5, 2024Updated August 5, 2024Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.38%). Schedule for your next planned update.

Does your project use an affected org.redisson:redisson version?

Paste your pom.xml to check it for CVE-2023-42809 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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.

Advisory Timeline

  • First published August 5, 2024 (843 days ago).
  • Last revised August 5, 2024 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.redisson:redisson to 3.22.0 or later
<!-- Update pom.xml dependency version to 3.22.0 for org.redisson:redisson -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.redisson:redisson Maven · Affected: 0.9.0, 1.0.1, 1.0.2, 1.0.3 (+202 more)3.22.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-42809?
Redisson vulnerable to Deserialization of Untrusted Data. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2023-42809?
CVE-2023-42809 affects org.redisson:redisson. It has a 1.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-42809 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.38%
EPSS percentile: 72.3

This is an above-median EPSS score — 72.3% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-4hvc-qwr2-f8rv

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml