Bump easymock dependency to remove vulnerability #218
Merged
jadecarino merged 1 commit intogalasa-dev:mainfrom Apr 16, 2026
Merged
Bump easymock dependency to remove vulnerability #218jadecarino merged 1 commit intogalasa-dev:mainfrom
jadecarino merged 1 commit intogalasa-dev:mainfrom
Conversation
…nerable) does not get pulled in through the dependency chain Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
eamansour
approved these changes
Apr 16, 2026
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.
Why?
Refer to galasa-dev/projectmanagement#2572
easymock 3.4 is pulled into the galasa-simplatform.jar due to the dependency chain (galasa-simplatform > dev.galasa.zos.manager > dev.galasa.framework > org.apache.felix.bundlerepository 2.0.10 > easymock 3.4). easymock 3.4 contains junit 4.12 which has a vulnerability. This could not be removed by bumping org.apache.felix.bundlerepository as 2.0.10 is the most recent version, so this change explicitly defines an easymock dependency on 5.6 so that 3.4 does not get pulled in through the dependency chain.
This change has been tested by building Simplatform locally, then building Isolated locally, checking the contents of galasa-simplatform.jar by inflating it with
jar -xvfand verifying that the easymock version pulled in is 5.6.I have also ran all of the Simbank tests locally to make sure no OSGi/versioning problems were introduced.
Changes