Skip to content

TDB-19854 - Remove vulnerable dependencies#3311

Merged
prasantakumar82 merged 1 commit intoehcache:masterfrom
aurbroszniowski:TDB-19854-upgrade-dependencies-main
Feb 11, 2026
Merged

TDB-19854 - Remove vulnerable dependencies#3311
prasantakumar82 merged 1 commit intoehcache:masterfrom
aurbroszniowski:TDB-19854-upgrade-dependencies-main

Conversation

@aurbroszniowski
Copy link
Contributor

@aurbroszniowski aurbroszniowski commented Jan 23, 2026

  • Removed Gretty and used an embedded jetty 12 instance instead - See EmbeddedPeeperServer and Peeper* classes inside the demos folder.
  • Moved to jakarta
  • Moved to SpotBug 4.5.8 because of CVE (commons-text:1.9 and gson:2.8.6)
    This required to add a few rules (e.g. spotbugs.getOmitVisitors().addAll("FindReturnRef", "ConstructorThrow");) and uncovered a few issues (TiredStore, UserManagerCacheBuilder).
  • Moved to assertJ 3.27.7 because of CVE. This required to move to Mockito 5.12.0 and refactoring tests.

Note about the Mend report: the following vulnerable dependency isn’t coming from the demos module:

Unknown
k8s.io/apimachinery:v0.24.2

@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch 4 times, most recently from 7f3ce18 to 4fbee30 Compare January 28, 2026 10:22
@ehcache ehcache deleted a comment from Gen-SIQA-User Jan 28, 2026
@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch from f0376ff to d0e77d9 Compare January 28, 2026 15:34
@ehcache ehcache deleted a comment from Gen-SIQA-User Jan 28, 2026
@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch from d0e77d9 to 9a87c46 Compare January 28, 2026 16:09
@ehcache ehcache deleted a comment from Gen-SIQA-User Jan 28, 2026
@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch from 9a87c46 to 0d6354e Compare January 28, 2026 17:15
@ehcache ehcache deleted a comment from Gen-SIQA-User Jan 28, 2026
@ehcache ehcache deleted a comment from Gen-SIQA-User Jan 29, 2026
@ehcache ehcache deleted a comment from Gen-SIQA-User Jan 29, 2026
@aurbroszniowski aurbroszniowski changed the title [WIP] TDB-19854 - Remove vulnerable dependencies TDB-19854 - Remove vulnerable dependencies Jan 29, 2026
@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch from 0d6354e to 3b38af9 Compare January 29, 2026 08:34
@Gen-SIQA-User
Copy link
Collaborator

Gen-SIQA-User commented Jan 29, 2026

No vulnerabilities found.

@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch 4 times, most recently from 403528f to dc6deca Compare February 1, 2026 09:04
@ehcache ehcache deleted a comment from Gen-SIQA-User Feb 2, 2026
@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch 2 times, most recently from 27851b8 to 82691b6 Compare February 2, 2026 17:34
@ehcache ehcache deleted a comment from Gen-SIQA-User Feb 2, 2026
@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch 2 times, most recently from 5b5e89f to 729169a Compare February 4, 2026 14:36
@aurbroszniowski aurbroszniowski force-pushed the TDB-19854-upgrade-dependencies-main branch from 729169a to 7bf5fc7 Compare February 4, 2026 15:09
@mobasherul-ibm mobasherul-ibm requested review from mobasherul-ibm and removed request for mobasherul February 6, 2026 10:05
mobasherul-ibm
mobasherul-ibm previously approved these changes Feb 6, 2026
Copy link

@mobasherul-ibm mobasherul-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

Copy link
Contributor

@prasantakumar82 prasantakumar82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Copy link

@prasanta-ibm prasanta-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

- Removed Gretty to get rid of vulnerable dependencies, use an embedded jetty 12 instance instead
- Fixed SpotBugs issues
- Fixed SpotBugs issues
- Upgraded assertj
- Upgraded mockito
- Upgraded commons-beanutils
- Upgraded terracotta platform
- Upgraded terracotta core
- Reverted pax-url-aether to v2.7.0
- Forced logback 1.5.26 in clustered/integration module
- Changed Copyright header check to support 2025 until 2029
Copy link
Contributor

@prasantakumar82 prasantakumar82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

Copy link

@mobasherul-ibm mobasherul-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@prasantakumar82 prasantakumar82 merged commit 2badca4 into ehcache:master Feb 11, 2026
15 checks passed
@aurbroszniowski aurbroszniowski deleted the TDB-19854-upgrade-dependencies-main branch February 11, 2026 10:25
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.

5 participants