Skip to content

[Snyk] Upgrade mysql:mysql-connector-java from 5.1.25 to 5.1.49#5

Open
papicella wants to merge 1 commit into
masterfrom
snyk-upgrade-a567ea27b646fb970e5f80ca9316cda7
Open

[Snyk] Upgrade mysql:mysql-connector-java from 5.1.25 to 5.1.49#5
papicella wants to merge 1 commit into
masterfrom
snyk-upgrade-a567ea27b646fb970e5f80ca9316cda7

Conversation

@papicella
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to upgrade mysql:mysql-connector-java from 5.1.25 to 5.1.49.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 24 versions ahead of your current version.

  • The recommended version was released 6 years ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Improper Access Control
SNYK-JAVA-MYSQL-31399
300 No Known Exploit
medium severity Arbitrary Code Execution
SNYK-JAVA-MYSQL-31580
300 No Known Exploit
medium severity SQL Injection
SNYK-JAVA-MYSQL-451460
300 Mature
low severity Improper Access Control
SNYK-JAVA-MYSQL-31449
300 No Known Exploit

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade mysql:mysql-connector-java from 5.1.25 to 5.1.49.

See this package in maven:
mysql:mysql-connector-java

See this project in Snyk:
https://app.snyk.io/org/pas.apicella-41p/project/a6786958-c6a5-4bc8-818b-640ed31d5217?utm_source=github&utm_medium=referral&page=upgrade-pr
@papicella
Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This is a patch version upgrade within the 5.1 series. While patch releases are typically for bug and security fixes, version 5.1.49 introduces a notable behavioral change.

Key Change:

  • Change in Default Property Value: The default value for the connection property allowLoadLocalInfile has been changed from true to false. This was done for security reasons.

Impact:

  • Applications that use the LOAD DATA LOCAL INFILE command and rely on the previous default setting will no longer work. These applications must now explicitly set the allowLoadLocalInfile property to true in their database connection configuration to restore functionality.

Recommendation:
Review your application's data import features. If you use LOAD DATA LOCAL INFILE, you must update your JDBC connection string to include allowLoadLocalInfile=true.

Source: MySQL Connector/J 5.1.49 Release Announcement

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@papicella
Copy link
Copy Markdown
Owner Author

papicella commented May 9, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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