From 4cce6e856c80d3bf89d7bb89b7d9463e556f2ad4 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 ffa791439c7..815e75c4861 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 c38de1aaf98..8ed2a4b4f1c 100644 --- a/pom.xml +++ b/pom.xml @@ -68,11 +68,11 @@ 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 @@ -86,6 +86,14 @@ pom import + + + org.jetbrains.kotlin + kotlin-bom + ${kotlin.version} + pom + import + org.springframework.boot spring-boot-dependencies @@ -99,11 +107,6 @@ java-semver ${java-semver.version} - - com.squareup.wire - wire-runtime - ${wire.version} - com.squareup.wire wire-runtime-jvm @@ -356,9 +359,6 @@ 17 3.2.1 - 4.9.1 - 3.0.2 - -jvm ${project.artifactId}-jdk17-${project.version} @@ -389,9 +389,6 @@ 21 3.2.1 - 4.9.1 - 3.0.2 - -jvm ${project.artifactId}-jdk21-${project.version}