From 624d46f8351eaf25bd1fd3ee6a0051dc6a757355 Mon Sep 17 00:00:00 2001 From: Bill Hamilton Date: Thu, 24 Sep 2026 10:20:14 -0700 Subject: [PATCH 1/2] =?UTF-8?q?security(maven):=20=F0=9F=9B=A1=EF=B8=8F=20?= =?UTF-8?q?Spring=20Boot=203.5.16,=20Jackson=202.21.7,=20Logback=201.5.38?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clears 6 of 9 ArmorCode/Snyk tickets, including both CRITICALs (spring-boot-autoconfigure, jackson-databind). Local Snyk: 51 findings (4C/18H/22M/7L) → 9 (0C/6H/3M); every remaining HIGH needs Spring 7.0.9. - Spring Boot parent 3.2.3 → 3.5.16 (Spring Framework 6.2.19). - java.version 8 → 17: Spring Boot 3 requires 17; the jar was emitting Java 8 bytecode while depending on Java 17 libraries. - Jackson via jackson-bom.version 2.21.7; explicit jackson versions dropped (jackson-annotations is minor-versioned since 2.20). - logback.version 1.5.38 (Boot 3.5.16 manages 1.5.34 < fix 1.5.36). - maven-pmd-plugin 3.20.0 → 3.28.0 and pmd 7.10.0 → 7.17.0: plugin 3.20 cannot run PMD 7, so 'mvn verify' has failed since #55 (2025-02). - spotbugs-maven-plugin 3.1.12.2 → 4.10.4.1 (drop 4.0.0-beta4 pin): the 2019 plugin cannot read Java 17 bytecode. - Remove a stray ';' after a nested class that PMD 7.17 flags. Co-Authored-By: Claude Opus 5.5 --- .changes/unreleased/.gitkeep | 0 ...237\224\222 Security-20260924-102000.yaml" | 5 ++++ pom.xml | 26 ++++++------------- .../vault/spring/SecretsVaultFactoryBean.java | 2 +- 4 files changed, 14 insertions(+), 19 deletions(-) create mode 100644 .changes/unreleased/.gitkeep create mode 100644 ".changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" diff --git a/.changes/unreleased/.gitkeep b/.changes/unreleased/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git "a/.changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" "b/.changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" new file mode 100644 index 0000000..bbe9666 --- /dev/null +++ "b/.changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" @@ -0,0 +1,5 @@ +kind: 🔒 Security +body: Spring Boot 3.2.3 → 3.5.16 (Spring 6.2.19), Jackson 2.21.7, Logback 1.5.38; clears both Snyk CRITICALs. Java baseline raised to 17, as Spring Boot 3 requires. +time: 2026-09-24T10:20:00.000000-07:00 +custom: + github-contributor: pacificcode diff --git a/pom.xml b/pom.xml index 9c9e75e..aecf3e2 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 3.2.3 + 3.5.16 @@ -50,10 +50,11 @@ - 8 - 2.15.0 - 6.0.23 - 7.10.0 + 17 + 2.21.7 + 6.2.19 + 1.5.38 + 7.17.0 @@ -77,19 +78,16 @@ com.fasterxml.jackson.core jackson-core - ${jackson.version} com.fasterxml.jackson.core jackson-annotations - ${jackson.version} com.fasterxml.jackson.core jackson-databind - ${jackson.version} @@ -180,7 +178,7 @@ org.apache.maven.plugins maven-pmd-plugin - 3.20.0 + 3.28.0 1.8 @@ -207,15 +205,7 @@ com.github.spotbugs spotbugs-maven-plugin - 3.1.12.2 - - - - com.github.spotbugs - spotbugs - 4.0.0-beta4 - - + 4.10.4.1 diff --git a/src/main/java/com/delinea/secrets/vault/spring/SecretsVaultFactoryBean.java b/src/main/java/com/delinea/secrets/vault/spring/SecretsVaultFactoryBean.java index 00ab0d5..b492f36 100644 --- a/src/main/java/com/delinea/secrets/vault/spring/SecretsVaultFactoryBean.java +++ b/src/main/java/com/delinea/secrets/vault/spring/SecretsVaultFactoryBean.java @@ -62,7 +62,7 @@ public String getRefreshToken() { public String getTokenType() { return tokenType; } - }; + } private static final String GRANT_REQUEST_CLIENT_ID_PROPERTY = "client_id"; From 5a8c84606d53dbde9992b1278a5a79f9b93c5274 Mon Sep 17 00:00:00 2001 From: Bill Hamilton Date: Fri, 25 Sep 2026 06:40:01 -0700 Subject: [PATCH 2/2] =?UTF-8?q?security(maven):=20=F0=9F=9B=A1=EF=B8=8F=20?= =?UTF-8?q?Spring=20Boot=204.1.1=20(Spring=207.0.9),=20Logback=201.6.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clears the three remaining Spring Framework findings (spring-beans, spring-web, spring-expression), whose only fix is 7.0.9, and the logback-classic directory traversal (CVE-2026-19880, fixed 1.6.3). - Jackson 2 pinned via Boot 4's jackson-2-bom.version; Jackson 3 is not on the classpath, so RestTemplate still uses Jackson 2. - spring-web version now managed by Boot, not pinned separately. - Test uses JdkClientHttpRequestFactory: Spring 7 removed OkHttp3ClientHttpRequestFactory. okhttp test dependency dropped. Co-Authored-By: Claude Opus 5.5 --- ...360\237\224\222 Security-20260924-102000.yaml" | 2 +- pom.xml | 15 +++------------ .../delinea/secrets/spring/ApplicationTests.java | 4 ++-- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git "a/.changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" "b/.changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" index bbe9666..c4342b8 100644 --- "a/.changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" +++ "b/.changes/unreleased/\360\237\224\222 Security-20260924-102000.yaml" @@ -1,5 +1,5 @@ kind: 🔒 Security -body: Spring Boot 3.2.3 → 3.5.16 (Spring 6.2.19), Jackson 2.21.7, Logback 1.5.38; clears both Snyk CRITICALs. Java baseline raised to 17, as Spring Boot 3 requires. +body: Spring Boot 3.2.3 → 4.1.1 (Spring Framework 7.0.9), Jackson 2.21.7, Logback 1.6.4; clears all Snyk findings, including both CRITICALs. Java baseline raised to 17, as Spring Boot 3+ requires. time: 2026-09-24T10:20:00.000000-07:00 custom: github-contributor: pacificcode diff --git a/pom.xml b/pom.xml index aecf3e2..bb6512f 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 3.5.16 + 4.1.1 @@ -51,9 +51,8 @@ 17 - 2.21.7 - 6.2.19 - 1.5.38 + 2.21.7 + 1.6.4 7.17.0 @@ -72,7 +71,6 @@ org.springframework spring-web - ${spring.version} @@ -90,13 +88,6 @@ jackson-databind - - com.squareup.okhttp3 - okhttp - 4.9.2 - test - - diff --git a/src/test/java/com/delinea/secrets/spring/ApplicationTests.java b/src/test/java/com/delinea/secrets/spring/ApplicationTests.java index 526e5c4..4ec5156 100644 --- a/src/test/java/com/delinea/secrets/spring/ApplicationTests.java +++ b/src/test/java/com/delinea/secrets/spring/ApplicationTests.java @@ -6,7 +6,7 @@ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.http.client.ClientHttpRequestFactory; -import org.springframework.http.client.OkHttp3ClientHttpRequestFactory; +import org.springframework.http.client.JdkClientHttpRequestFactory; @SpringBootTest class ApplicationTests { @@ -15,7 +15,7 @@ class ApplicationTests { public static class Config { @Bean public ClientHttpRequestFactory clientRequestFactory() { - return new OkHttp3ClientHttpRequestFactory(); + return new JdkClientHttpRequestFactory(); } }