Skip to content

[SPARK-60889][BUILD][TESTS] Upgrade MariaDB Connector/J to 3.5.11 - #60104

Closed
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-60889
Closed

dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-60889

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to upgrade MariaDB Connector/J (mariadb-java-client) from 3.5.10 to 3.5.11.

Why are the changes needed?

To fix the following open Dependabot alerts against org.mariadb.jdbc:mariadb-java-client (affected: >= 3.5.0, < 3.5.11, patched: 3.5.11):

  • #267 (medium): CVE-2026-119281 Server could switch character_set_results away from UTF-8 without the client noticing
  • #268 (medium): CVE-2026-119210 LOAD DATA LOCAL INFILE file check could be satisfied by text inside quoted identifiers, letting a malicious server read client files
  • #269 (low): CVE-2026-119280 XA recover() trusted server-supplied gtrid and bqual lengths
  • #270 (medium): CVE-2026-119276 Rogue server can drive large heap allocations from server-declared lengths in OK packets

This release also contains other bug fixes, for example CONJ-1374 (redirect URL password partially logged when containing @) and CONJ-1345 (DatabaseMetaData#getURL() exposes the database password since 3.5.10).

This is a patch upgrade within 3.5.x. The 4.0.0 release, which was published on the same day, is a major release that changes defaults (for example, sslMode defaults to verify-full), so it is not included here.

Does this PR introduce any user-facing change?

No. The dependency is used only in the test scope (sql/core and connector/docker-integration-tests), and the 3.5.11 POM declares no new runtime dependencies (all of them are optional, provided, or test).

How was this patch tested?

Pass the CIs, and manually tested on JDK 21 as follows.

build/sbt -Pdocker-integration-tests \
  'sql/testOnly *MariaDBConnectionProviderSuite *ConnectionProviderSuite' \
  'docker-integration-tests/Test/compile'
  • 17 tests passed, and the Docker integration test module compiles with the new version.
  • Confirmed that mariadb-java-client-3.5.11.jar is on the sql test classpath via show sql/Test/dependencyClasspath.
  • The Docker integration tests were not run locally.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Sonnet 5.5

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-60889][BUILD] Upgrade MariaDB Connector/J to 3.5.11 [SPARK-60889][BUILD][TESTS] Upgrade MariaDB Connector/J to 3.5.11 Nov 4, 2026
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @HyukjinKwon !

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merge Summary:

Posted by merge_spark_pr.py

@dongjoon-hyun
dongjoon-hyun deleted the SPARK-60889 branch November 4, 2026 22:10
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