From dd83cabda19a824c36a761bb958fd66428b44f17 Mon Sep 17 00:00:00 2001 From: Pascal Zimmermann Date: Fri, 27 Nov 2026 08:37:37 +0100 Subject: [PATCH] build: Use wire-runtime-jvm 6.3.0 in all profiles The default Java 8 profile still shipped wire-runtime 3.7.1, which is affected by GHSA-pwf9-q62p-v7wc (uncontrolled recursion on nested groups, fixed in 5.2.0). Since the published 5.x.x artifacts are built with that profile, the fix has to land there, not only in the JDK 17/21 profiles used in CI. wire-runtime-jvm 6.3.0 (and its okio-jvm 3.17.0) is compiled for Java 8, so every profile now uses the same Wire version and the per-profile wire overrides and the wire.suffix switch are gone. Wire needs a Kotlin 2 stdlib, but Spring Boot 2.7's BOM pins kotlin-stdlib to 1.6.21. kotlin-bom 2.0.21 is imported ahead of spring-boot-dependencies so its version wins. --- cloudfoundry-client/pom.xml | 2 +- pom.xml | 23 ++++++++++------------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/cloudfoundry-client/pom.xml b/cloudfoundry-client/pom.xml index ffa791439c..815e75c486 100644 --- a/cloudfoundry-client/pom.xml +++ b/cloudfoundry-client/pom.xml @@ -45,7 +45,7 @@ com.squareup.wire - wire-runtime${wire.suffix} + wire-runtime-jvm org.springframework.boot diff --git a/pom.xml b/pom.xml index 0c40fa6ca3..7963bab5be 100644 --- a/pom.xml +++ b/pom.xml @@ -68,16 +68,24 @@ 0.10.2 0.12.7 5.14.4 + 2.0.21 5.8.0 2.4 - 3.7.1 + 6.3.0 3.0.2 - 2.44.4 + + + org.jetbrains.kotlin + kotlin-bom + ${kotlin.version} + pom + import + org.springframework.boot spring-boot-dependencies @@ -91,11 +99,6 @@ java-semver ${java-semver.version} - - com.squareup.wire - wire-runtime - ${wire.version} - com.squareup.wire wire-runtime-jvm @@ -363,9 +366,6 @@ 17 3.2.1 - 4.9.1 - 3.0.2 - -jvm ${project.artifactId}-jdk17-${project.version} @@ -396,9 +396,6 @@ 21 3.2.1 - 4.9.1 - 3.0.2 - -jvm ${project.artifactId}-jdk21-${project.version}