Vulnerabilities in pkg:maven/io.lettuce/lettuce-core
PACKAGEGHSA-q4h9-7rxj-7gx2 is a MODERATE (CVSS 5.5) netty vulnerability included vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Withdrawn Advisory libraries in the Maven ecosystem. The issue involves netty vulnerability included in redis lettuce. Remediation is available by upgrading affected packages to version 6.5.1.RELEASE.
pkg:maven/io.lettuce/lettuce-core
Vulnerability advisories affecting package pkg:maven/io.lettuce/lettuce-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-q4h9-7rxj-7gx2 | - | MODERATE | Withdrawn Advisory: Netty vulnerability included in redis lettuce |
GHSA-q4h9-7rxj-7gx2 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix GHSA-q4h9-7rxj-7gx2
To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
<version>6.5.1.RELEASE</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.lettuce
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-q4h9-7rxj-7gx2, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.lettuce
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.5.1.RELEASE), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.lettuce command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-q4h9-7rxj-7gx2 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.lettuce:lettuce-core
|
Maven |
< 6.5.1.RELEASE
|
6.5.1.RELEASE
|
References
Frequently Asked Questions
What is GHSA-q4h9-7rxj-7gx2?
Which Withdrawn Advisory versions are affected?
What version fixes GHSA-q4h9-7rxj-7gx2?
Is lettuce-core affected?
What is the CVSS score of GHSA-q4h9-7rxj-7gx2?
What CWE is associated with GHSA-q4h9-7rxj-7gx2?
How can I check Maven dependencies for GHSA-q4h9-7rxj-7gx2?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q4h9-7rxj-7gx2",
"modified" : "2025-01-16T14:36:55Z",
"published" : "2024-12-02T20:03:03Z",
"withdrawn" : "2025-01-16T14:36:55Z",
"aliases" : [ ],
"summary" : "Withdrawn Advisory: Netty vulnerability included in redis lettuce",
"details" : "# Withdrawn Advisory\nThis advisory has been withdrawn because users of Lettuce may independently exclude vulnerable versions of Netty from their dependencies, and those users should not receive alerts for CVE-2024-47535. This link is maintained to preserve external references.\n\n# Original Description\n\n### Summary\nNote: i'm reporting this in this way purely because it's private and i don't want to broadcast vulnerabilities.\n\n> An unsafe reading of environment file could potentially cause a denial of service in Netty. When loaded on an Windows application, Netty attempts to load a file that does not exist. If an attacker creates such a large file, the Netty application crashes. This vulnerability is fixed in 4.1.115.\n\n### Details\nhttps://github.com/redis/lettuce/blob/main/pom.xml#L67C9-L67C53 The netty version pinned here is currently \n```\n<netty.version>4.1.113.Final</netty.version>\n```\nThis version is vulnerable according to Snyk and is affecting one of our products:\n\n\nHere is a [link](https://www.cve.org/CVERecord?id=CVE-2024-47535) to the CVE\n\n### PoC\n_Complete instructions, including specific configuration details, to reproduce the vulnerability._\nNot applicable\n\n### Impact\n_What kind of vulnerability is it? Who is impacted?_\nDenial of Service, affecting Windows users. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.lettuce:lettuce-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.5.1.RELEASE"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/netty/netty/security/advisories/GHSA-xq3w-v528-46rv"
}, {
"type" : "WEB",
"url" : "https://github.com/redis/lettuce/security/advisories/GHSA-q4h9-7rxj-7gx2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-47535"
}, {
"type" : "WEB",
"url" : "https://github.com/redis/lettuce/issues/3093"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/redis/lettuce"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-02T20:03:03Z",
"nvd_published_at" : null
}
}