bugfix : upgrade vulnerable MySQL Connector/J references from distribution#8119
Open
LegendPei wants to merge 9 commits into
Open
bugfix : upgrade vulnerable MySQL Connector/J references from distribution#8119LegendPei wants to merge 9 commits into
LegendPei wants to merge 9 commits into
Conversation
…anup' into security/GHSA-m6vm-37g8-gqvh-cleanup
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.x #8119 +/- ##
============================================
+ Coverage 72.79% 72.94% +0.15%
Complexity 883 883
============================================
Files 1327 1327
Lines 50719 50719
Branches 6049 6049
============================================
+ Hits 36919 36997 +78
+ Misses 10803 10721 -82
- Partials 2997 3001 +4 🚀 New features to boost your workflow:
|
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.
Ⅰ. Describe what this PR did
This PR upgrade the vulnerable MySQL Connector/J references from Seata's dependency and distribution packaging configuration.
Main changes:
mysql:mysql-connector-javatocom.mysql:mysql-connector-j.This keeps the change scoped to the GHSA/CVE cleanup and aligns with the point that the distributed binary package should not have a hard dependency on the MySQL driver.
Ⅱ. Does this pull request fix one issue?
fixes #8101
Ⅲ. Why don't you add test cases (unit test/integration test)?
No new unit or integration test is added because this PR mainly removes packaging-time dependency copying and updates dependency coordinates. The behavioral code path is unchanged.
Existing test compilation was updated where the MySQL Connector/J upgrade exposed references to legacy MySQL 5 internal classes.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
The remaining mysql-connector-java matches are only historical changelog entries. Existing com.mysql.jdbc.Driver string defaults are kept for compatibility and are not bundled driver dependencies.