Skip to content

KAFKA-20168: Downgrade Jetty from 12.0.32 to 12.0.25 to fix SLF4J 2.x incompatibility (4.2)#21560

Closed
mingyen066 wants to merge 1 commit intoapache:4.2from
mingyen066:jetty-downgrade-12.0.25-4.2
Closed

KAFKA-20168: Downgrade Jetty from 12.0.32 to 12.0.25 to fix SLF4J 2.x incompatibility (4.2)#21560
mingyen066 wants to merge 1 commit intoapache:4.2from
mingyen066:jetty-downgrade-12.0.25-4.2

Conversation

@mingyen066
Copy link
Collaborator

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 #21452 (comment).

trunk: #21559

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 dependency.
@mingyen066 mingyen066 changed the title KAFKA-20168: Downgrade Jetty from 12.0.32 to 12.0.25 to fix SLF4J 2.x incompatibility KAFKA-20168: Downgrade Jetty from 12.0.32 to 12.0.25 to fix SLF4J 2.x incompatibility (4.2) Feb 24, 2026
@chia7712
Copy link
Member

cherry-pick a8c726a

@chia7712 chia7712 closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants