Skip to content

bump sample-side tomcat + commons-lang3 to clear Snyk CVEs#11

Merged
vzakharchenko merged 2 commits into
mainfrom
chore/bump-sample-tomcat-and-lang3
May 19, 2026
Merged

bump sample-side tomcat + commons-lang3 to clear Snyk CVEs#11
vzakharchenko merged 2 commits into
mainfrom
chore/bump-sample-tomcat-and-lang3

Conversation

@vzakharchenko
Copy link
Copy Markdown
Member

Snyk's scan of the sample reactor (sample-core, forge-connect, forge-container) surfaced 8 transitive CVEs that the library-side tomcat bump in #9 did not touch — the sample has its own spring-boot-starter-parent and is built independently.

  • Override <tomcat.version>10.1.55</tomcat.version> in the sample's parent pom; closes the same CVE batch on sample-core that bump tomcat-embed-core to 10.1.55 (Dependabot CVE batch) #9 already resolved for the bridge modules (HTTP/2 header validation, DIGEST authenticator wildcard match, WebDAV LOCK/PROPFIND unbounded read, LockOutRealm case sensitivity, WebSocket header exposure, AJP non-constant time, security-constraint mapping).
  • Pin org.apache.commons:commons-lang3 to 3.18.0 in the parent's . liquibase-core 4.31.1 (pulled by the Connect JPA starter) drags in 3.17.0, which carries CVE-2025-48924 (Uncontrolled Recursion in ClassUtils.getClass). 3.18.0 is the patch.

Verified mvn dependency:tree on each sample module resolves tomcat-embed-core:10.1.55 and commons-lang3:3.18.0 (the latter only where liquibase is on the path — forge-container excludes JPA and so has no commons-lang3 transitive at all).

vzakharchenko and others added 2 commits May 19, 2026 22:45
Snyk's scan of the sample reactor (sample-core, forge-connect,
forge-container) surfaced 8 transitive CVEs that the library-side
tomcat bump in #9 did not touch — the sample has its own
spring-boot-starter-parent and is built independently.

- Override <tomcat.version>10.1.55</tomcat.version> in the sample's
  parent pom; closes the same CVE batch on sample-core that #9 already
  resolved for the bridge modules (HTTP/2 header validation, DIGEST
  authenticator wildcard match, WebDAV LOCK/PROPFIND unbounded read,
  LockOutRealm case sensitivity, WebSocket header exposure, AJP
  non-constant time, security-constraint mapping).
- Pin org.apache.commons:commons-lang3 to 3.18.0 in the parent's
  <dependencyManagement>. liquibase-core 4.31.1 (pulled by the Connect
  JPA starter) drags in 3.17.0, which carries CVE-2025-48924
  (Uncontrolled Recursion in ClassUtils.getClass). 3.18.0 is the patch.

Verified `mvn dependency:tree` on each sample module resolves
tomcat-embed-core:10.1.55 and commons-lang3:3.18.0 (the latter only
where liquibase is on the path — forge-container excludes JPA and so
has no commons-lang3 transitive at all).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vzakharchenko vzakharchenko enabled auto-merge May 19, 2026 19:47
@qltysh
Copy link
Copy Markdown

qltysh Bot commented May 19, 2026

Qlty


Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@sonarqubecloud
Copy link
Copy Markdown

@vzakharchenko vzakharchenko merged commit b8fa2bf into main May 19, 2026
8 checks passed
@vzakharchenko vzakharchenko deleted the chore/bump-sample-tomcat-and-lang3 branch May 19, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant