Skip to content

Bump easymock dependency to remove vulnerability #218

Merged
jadecarino merged 1 commit intogalasa-dev:mainfrom
jadecarino:iss2572-bump-easymock
Apr 16, 2026
Merged

Bump easymock dependency to remove vulnerability #218
jadecarino merged 1 commit intogalasa-dev:mainfrom
jadecarino:iss2572-bump-easymock

Conversation

@jadecarino
Copy link
Copy Markdown
Member

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 -xvf and 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

  • Dependency on easymock 5.6 added to the galasa-simplatform-parent

…nerable) does not get pulled in through the dependency chain

Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
@jadecarino jadecarino requested a review from eamansour April 16, 2026 14:30
@jadecarino jadecarino merged commit 92f8206 into galasa-dev:main Apr 16, 2026
4 checks passed
@jadecarino jadecarino deleted the iss2572-bump-easymock branch April 16, 2026 14:34
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.

2 participants