Skip to content

Commit b3edddf

Browse files
committed
MLE-24747 Bumping netty to address CVE
1 parent 8afe3f5 commit b3edddf

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

build.gradle

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,14 @@ configurations {
5757
force "com.marklogic:ml-gradle:6.1.0"
5858

5959
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
60-
// Force v12.1.1 of jetty-http to avoid CVE-2025-5115
61-
// (https://nvd.nist.gov/vuln/detail/CVE-2025-5115), which is a transitive
62-
// dependency of Kafka connect-runtime:4.1.0
63-
// Need to ensure this inclusdes all jetty modules, such as "org.eclipse.jetty.ee10"
6460
if (details.requested.group.startsWith("org.eclipse.jetty") && details.requested.version.startsWith("12")) {
6561
details.useVersion "12.1.1"
66-
details.because "Bumping from 12.0.22 (what Kafka connect-runtime:4.1.0 depends on) to 12.1.1 to eliminate CVEs."
62+
details.because "Eliminating CVEs on earlier versions. This is a compileOnly dependency of Kafka Connect and has no impact on our connector."
6763
}
6864

69-
// Force v4.2.6.Final of netty-all to avoid CVE-2025-58057
70-
// (https://www.cve.org/CVERecord?id=CVE-2025-58057), which is a transitive
71-
// dependency of marklogic-data-hub:6.2.1
7265
if (details.requested.group.equals("io.netty") && details.requested.version.startsWith("4")) {
73-
details.useVersion "4.2.6.Final"
74-
details.because "Bumping from 4.1.0 (what marklogic-data-hub:6.2.1 depends on) to 4.2.6.Final to eliminate CVEs."
66+
details.useVersion "4.2.7.Final"
67+
details.because "Eliminating CVEs on earlier patch versions. io.netty is brought in by marklogic-data-hub. "
7568
}
7669
}
7770
}

0 commit comments

Comments
 (0)