Repository navigation
security(maven): 🛡️ Spring Boot 4.1.1 (Spring 7.0.9), Jackson 2.21.7, Logback 1.6.4 - #71
Merged
Merged
Conversation
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 <noreply@anthropic.com>
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
Author
|
About the failing
No 6.x release fixes either one. Staying on 6.0.23 (EOL) keeps the 4 CRITICALs and 40+ other findings, so this PR trades 51 findings (4 CRIT) for 9 (0 CRIT), and these 2 are among the 9. Both look like server-side web issues (response handling, session cookies), and this SDK is an HTTP client, so they're probably not reachable here (not verified in code). They go away with the Spring 7 / Boot 4 follow-up. |
jonbos
approved these changes
Sep 24, 2026
typettitt
approved these changes
Sep 24, 2026
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 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears all 9 ArmorCode/Snyk tickets, including both CRITICALs, and gets
mvn verifypassing again for the first time since early 2025.Snyk (local scan, org
devops-secrets-vault)mainChanges
spring-webis now managed by Boot rather than pinned separately.java.version8 → 17. Spring Boot 3+ requires 17, and the jar was compiled--release 8while depending on Java 17 libraries, so on Java 8 it would fail at runtime.jackson-2-bom.version2.21.7. Boot 4 defaults to Jackson 3, but Jackson 3 is not on the classpath (checked withdependency:tree), soRestTemplatestill uses Jackson 2. Explicit Jackson versions were dropped: since 2.20,jackson-annotationsis minor-versioned (2.21), so a shared${jackson.version}can't resolve it.logback.version1.6.4. Boot 4.1.1 manages 1.5.38, which still has CVE-2026-19880 (MEDIUM, fixed in 1.6.3).OkHttp3ClientHttpRequestFactory, so the test now uses the built-inJdkClientHttpRequestFactoryand theokhttptest dependency is gone. No main-source changes.verifycouldn't pass without them):maven-pmd-plugin3.20.0 → 3.28.0 and PMD 7.10.0 → 7.17.0. Plugin 3.20 can't run PMD 7, somvn verifyhas failed onmainsince security(maven): 🛡️ major build to v7 #55 (2025-02).spotbugs-maven-plugin3.1.12.2 → 4.10.4.1, dropping thespotbugs 4.0.0-beta4pin. The 2019 plugin can't read Java 17 bytecode.;after a nested class, which PMD 7.17 flags..changes/).Testing
mvn clean verify -Dgpg.skipon Temurin 21: BUILD SUCCESS. PMD 0 violations, SpotBugs 0 bugs.ApplicationTests.contextLoadsboots the app, which authenticates with client credentials (Jackson 2 token deserialization) and runsgetSecretagainst a real secret. Passes on Boot 4.1.1.snyk test: "Tested 27 dependencies for known issues, no vulnerable paths found."Spring Boot 4 / Spring 7 and Java 17 are major changes for anyone embedding this SDK. It should be released as a new major version when publishing resumes.
Not in scope (noted for the record)
com.thycotic.secrets:dsv-sdk-java:1.0.1(2022).deploy.ymlbuilds on JDK 1.8 and targets OSSRH, so merging this updatesmain(and closes the Snyk findings) but reaches no customer.🤖 Generated with Claude Code