-
Notifications
You must be signed in to change notification settings - Fork 2
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 sdk to fix netty vulnerability #100
Conversation
Updating the aws sdk to the newest version updates its transitive dependency on netty above 4.1.115, resolving [a high-severity vulnerability identified by dependabot](https://github.com/guardian/simple-configuration/security/dependabot/1).
@emdash-ie has published a preview version of this PR with release workflow run #5, based on commit d36e433: 4.0.0-PREVIEW.update-aws-sdk-to-fix-netty-vulnerability.2024-11-21T1120.d36e433e Want to make another preview release?Click 'Run workflow' in the GitHub UI, specifying the update-aws-sdk-to-fix-netty-vulnerability branch, or use the GitHub CLI command: gh workflow run release.yml --ref update-aws-sdk-to-fix-netty-vulnerability 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 |
Should this have created a new major version? This is definitely not a breaking change. Generally, dependency updates issue a new patch release. cc @guardian/scala-guild. |
Good question, I'm not sure. If I understand correctly, the release covers more commits than just the ones in this PR: v3.0.0...v4.0.0 But those still don't look like major-version changes to me. It'd be really nice to have an explanation somewhere of why a specific type of version bump was chosen. (Is it weird that there are commits to main between the release tag and the post-release commit for v3? Does it mean a PR was merged on the repository while the release was running? Should we avoid/prevent that?) |
Oh, I think this is just Github's UI ordering commits by their date rather than their position on the main branch. The parent of the post-release commit is the release commit, so that's fine. The October commits come from a PR that was merged on the 15th, well after the release. |
Ah, Roberto's issue that just appeared above explains the problem: sbt-version-policy doesn't understand Netty's version number and so assumes it's a major version change. (It also provides instructions for finding out why a given version bump happened.) |
Hi there! Yeah, sorry, I was just trying to document the issue a bit before I got back here, but yup, I've created an issue to track unnecessary version bumps and explain them... Would be good to have a chat sometime about how we might address a general fix for the version-parsing issue...! |
What does this change?
Updating the aws sdk to the newest version updates its transitive dependency on netty above 4.1.115, resolving a high-severity vulnerability identified by dependabot.
How to test
We feel this is a straightforward dependency update (patch version), so doesn’t require significant testing.