This is an automated email from the ASF dual-hosted git repository.

viktor pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/4.0 by this push:
     new 67bec73d892 KAFKA-20168: Downgrade Jetty from 12.0.32 to 12.0.25 to 
fix SLF4J 2.x incompatibility (4.0) (#21562)
67bec73d892 is described below

commit 67bec73d8929ec1bfc9f4aaf11dcd84837abab05
Author: Ming-Yen Chung <[email protected]>
AuthorDate: Tue Feb 24 22:16:02 2026 +0800

    KAFKA-20168: Downgrade Jetty from 12.0.32 to 12.0.25 to fix SLF4J 2.x 
incompatibility (4.0) (#21562)
    
    Jetty 12.0.30+ introduced SLF4J 2.x fluent API usage
    (`Logger.atDebug()`) which causes `NoSuchMethodError` at runtime since
    Kafka still uses SLF4J 1.7.x. Downgrade to 12.0.25 which includes the
    CVE-2025-5115 fix without the SLF4J 2.x incompatibility.
    
    The issue was discovered and discussed in
    https://github.com/apache/kafka/pull/21452#issuecomment-3943544053.
    
    trunk: https://github.com/apache/kafka/pull/21559
---
 LICENSE-binary             | 20 ++++++++++----------
 gradle/dependencies.gradle |  2 +-
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index cc78178edda..6ef883e9ad3 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -225,16 +225,16 @@ License Version 2.0:
 - jakarta.inject-api-2.0.1
 - jakarta.validation-api-3.0.2
 - javassist-3.29.2-GA
-- jetty-alpn-client-12.0.32
-- jetty-client-12.0.32
-- jetty-ee10-servlet-12.0.32
-- jetty-ee10-servlets-12.0.32
-- jetty-http-12.0.32
-- jetty-io-12.0.32
-- jetty-security-12.0.32
-- jetty-server-12.0.32
-- jetty-session-12.0.32
-- jetty-util-12.0.32
+- jetty-alpn-client-12.0.25
+- jetty-client-12.0.25
+- jetty-ee10-servlet-12.0.25
+- jetty-ee10-servlets-12.0.25
+- jetty-http-12.0.25
+- jetty-io-12.0.25
+- jetty-security-12.0.25
+- jetty-server-12.0.25
+- jetty-session-12.0.25
+- jetty-util-12.0.25
 - jose4j-0.9.4
 - log4j-api-2.25.3
 - log4j-core-2.25.3
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index a924b2e08c9..fa6714ef702 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -69,7 +69,7 @@ versions += [
   jackson: "2.16.2",
   jacoco: "0.8.10",
   javassist: "3.29.2-GA",
-  jetty: "12.0.32",
+  jetty: "12.0.25",
   jersey: "3.1.10",
   jline: "3.25.1",
   jmh: "1.37",

Reply via email to