From d3637031d464e11fb3c519e526571a5e1cfaec26 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. The kotlin-bom import that came with the mockwebserver3 5.x update already overrides Spring Boot 2.7's kotlin-stdlib 1.6.21 with 2.1.21, so only its comment changes here. --- cloudfoundry-client/pom.xml | 2 +- pom.xml | 16 ++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/cloudfoundry-client/pom.xml b/cloudfoundry-client/pom.xml index c1bc750e3f..17d808e70d 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 f3a43d62c3..dcd72aec39 100644 --- a/pom.xml +++ b/pom.xml @@ -71,9 +71,8 @@ 5.14.4 5.8.0 2.4 - 3.7.1 + 6.3.0 3.0.2 - 2.46.1 @@ -87,7 +86,7 @@ pom import - + org.jetbrains.kotlin kotlin-bom @@ -108,11 +107,6 @@ java-semver ${java-semver.version} - - com.squareup.wire - wire-runtime - ${wire.version} - com.squareup.wire wire-runtime-jvm @@ -365,9 +359,6 @@ 17 3.2.1 - 4.9.1 - 3.0.2 - -jvm ${project.artifactId}-jdk17-${project.version} @@ -398,9 +389,6 @@ 21 3.2.1 - 4.9.1 - 3.0.2 - -jvm ${project.artifactId}-jdk21-${project.version}