Skip to content

[PM-42223] deps: Bump spring-boot-starter-parent to 3.5.16 in passwordless-java example - #142

Open
sognefej wants to merge 2 commits into
mainfrom
esognefest/pm-42223-bump-spring-boot-starter-parent
Open

[PM-42223] deps: Bump spring-boot-starter-parent to 3.5.16 in passwordless-java example#142
sognefej wants to merge 2 commits into
mainfrom
esognefest/pm-42223-bump-spring-boot-starter-parent

Conversation

@sognefej

@sognefej sognefej commented Sep 8, 2026

Copy link
Copy Markdown

Ticket

Description

Bumps spring-boot-starter-parent 3.1.3 → 3.5.16 in the examples/spring-boot-3-jdk-17 sample app to fix CVE-2022-1471 (snakeyaml). Same bump also clears transitive Tomcat and Thymeleaf advisories on the same pom.

springdoc-openapi-starter-webmvc-ui is bumped 2.2.0 → 2.8.17 alongside it, since 2.2.0 predates Spring Boot's PathPatternParser-by-default change in 3.2+ and would break Swagger UI otherwise.

Shape

Dependency-only change, no source touched. This is the unpublished sample app, not the published SDK.

Checklist

I did the following to ensure that my changes were tested thoroughly:

  • ./mvnw compile/test pass; dependency:tree confirms snakeyaml 2.4, tomcat-embed 10.1.55, thymeleaf 3.1.5.RELEASE
  • Ran the app live; /, /swagger-ui/index.html, /v3/api-docs all return 200 with correct content

I did the following to ensure that my changes do not introduce security vulnerabilities:

  • This change is itself a vulnerability remediation
  • Local code review (bitwarden-code-reviewer) — Approved

…s-java example

Resolves CVE-2022-1471 (snakeyaml unsafe deserialization) by bringing
snakeyaml to 2.4. This same bump also clears the transitive Apache
Tomcat (10.1.55) and Thymeleaf (3.1.5.RELEASE) advisories tracked on
the same pom.xml, both fixed under this one parent version change.

springdoc-openapi-starter-webmvc-ui is bumped to 2.8.17 alongside it,
since 2.2.0 predates Spring Boot's move to PathPatternParser as the
default in 3.2+ and would break OpenAPI/Swagger UI on the new parent.
@sognefej sognefej added the ai-review Request a Claude code review label Sep 8, 2026
Comment thread examples/spring-boot-3-jdk-17/pom.xml
@sognefej
sognefej marked this pull request as ready for review September 8, 2026 20:33
@sognefej
sognefej requested a review from a team as a code owner September 8, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants