Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aws-java-sdk-s3 to remove ion-java #309

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

emdash-ie
Copy link
Contributor

@emdash-ie emdash-ie commented Mar 6, 2024

What does this change?

There’s a vulnerability in ion-java, which is depended on by the current version of aws-java-sdk-s3, but removed from 1.12.638 forward. This change updates that dependency to its newest version to remove the ion-java dependency and facilitate removal of the vulnerability from projects which depend on this one.

How to test

To test this, I suppose I could make a snapshot release, and then run the tests of each dependent listed below with the snapshot version to make sure the tests pass. Should I?

How can we measure success?

  • Updates become possible to more projects to remove the ion-java vulnerability.
  • Nothing breaks.

Deployment

  • Updated facia-tool to use latest version
  • Updated frontend to use latest version
  • Updated MAPI to use latest version
  • Updated Ophan to use latest version
  • Updated story-packages to use latest version
  • Updated apple-news to use latest version
  • Checked for other downstream dependencies (perhaps via snyk or github search)

There’s a vulnerability in ion-java, which is depended on by the current
version of aws-java-sdk-s3, but removed from 1.12.638 forward. This
commit updates that dependency to its newest version to remove the
ion-java dependency and facilitate removal of the vulnerability from
projects which depend on this one.
@emdash-ie emdash-ie requested a review from a team March 6, 2024 11:11
@emdash-ie emdash-ie marked this pull request as ready for review March 6, 2024 11:57
@emdash-ie
Copy link
Contributor Author

emdash-ie commented Mar 6, 2024

This supersedes PR 297, which is a scala steward PR updating to a slightly less new version. Maybe we should just go with the scala steward PR?

@Divs-B
Copy link
Contributor

Divs-B commented Mar 6, 2024

This supersedes PR 297, which is a scala steward PR updating to a slightly less new version. Maybe we should just go with the scala steward PR?

Yes I think lets go ahead with Scala-steward PR(s), good to have upgrade anyway across the board,
lets see if that fixes ion-java too if not then will take ahead your PR.

@gu-scala-library-release
Copy link
Contributor

@Divs-B has published a preview version of this PR with release workflow run #13, based on commit c11bcb4:

5.0.4-PREVIEW.update-aws-java-sdk-s3.2024-03-06T1657.c11bcb4e

Want to make another preview release?

Click 'Run workflow' in the GitHub UI, specifying the update-aws-java-sdk-s3 branch, or use the GitHub CLI command:

gh workflow run release.yml --ref update-aws-java-sdk-s3

Want to make a full release after this PR is merged?

Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command:

gh workflow run release.yml

Copy link
Contributor

@Divs-B Divs-B left a comment

Choose a reason for hiding this comment

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

@rtyley and I have tried this out on apple-news code and it is working as expected and we are able to fix ion-java based snyk high vuln.
https://github.com/guardian/apple-news/pull/317#issuecomment-1983396589

@rtyley rtyley merged commit 9f62a39 into main Mar 7, 2024
8 checks passed
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.

3 participants