File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,25 @@ configurations {
5454 // Force v3.19 of commons-lang3 to avoid CVE-2025-48924 (https://www.cve.org/CVERecord?id=CVE-2025-48924), which
5555 // is caused by the use of avro-compiler v1.12.0 with older dependencies including commons-lang3 v3.12.0.
5656 force ' org.apache.commons:commons-lang3:3.19.0'
57+
58+ resolutionStrategy. eachDependency { DependencyResolveDetails details ->
59+ // Force v12.1.1 of jetty-http to avoid CVE-2025-5115
60+ // (https://nvd.nist.gov/vuln/detail/CVE-2025-5115), which is a transitive
61+ // dependency of Kafka connect-runtime:4.1.0
62+ // Need to ensure this inclusdes all jetty modules, such as "org.eclipse.jetty.ee10"
63+ if (details. requested. group. startsWith(" org.eclipse.jetty" ) && details. requested. version. startsWith(" 12" )) {
64+ details. useVersion " 12.1.1"
65+ details. because " Bumping from 12.0.22 (what Kafka connect-runtime:4.1.0 depends on) to 12.1.1 to eliminate CVEs."
66+ }
67+
68+ // Force v4.2.6.Final of netty-all to avoid CVE-2025-58057
69+ // (https://www.cve.org/CVERecord?id=CVE-2025-58057), which is a transitive
70+ // dependency of marklogic-data-hub:6.2.1
71+ if (details. requested. group. equals(" io.netty" ) && details. requested. version. startsWith(" 4" )) {
72+ details. useVersion " 4.2.6.Final"
73+ details. because " Bumping from 4.1.0 (what marklogic-data-hub:6.2.1 depends on) to 4.2.6.Final to eliminate CVEs."
74+ }
75+ }
5776 }
5877 }
5978}
You can’t perform that action at this time.
0 commit comments