This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 807a88730d65 [SPARK-60889][BUILD][TEST] Upgrade MariaDB Connector/J to
3.5.11
807a88730d65 is described below
commit 807a88730d6509285871807cee74d004bbea4bc8
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Nov 4 14:10:10 2026 -0800
[SPARK-60889][BUILD][TEST] Upgrade MariaDB Connector/J to 3.5.11
### 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.
-
[3.5.10](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.10)
(2026-07-29) ->
[3.5.11](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11)
(2026-10-21)
- Full changelog:
https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.5.10...3.5.11
### Why are the changes needed?
To fix the following open [Dependabot
alerts](https://github.com/apache/spark/security/dependabot) against
`org.mariadb.jdbc:mariadb-java-client` (affected: `>= 3.5.0, < 3.5.11`,
patched: `3.5.11`):
- [#267](https://github.com/apache/spark/security/dependabot/267) (medium):
[CVE-2026-119281](https://github.com/advisories/GHSA-grfq-r75j-rw9x) Server
could switch `character_set_results` away from UTF-8 without the client noticing
- [#268](https://github.com/apache/spark/security/dependabot/268) (medium):
[CVE-2026-119210](https://github.com/advisories/GHSA-fhx5-2xqw-2cgm) `LOAD DATA
LOCAL INFILE` file check could be satisfied by text inside quoted identifiers,
letting a malicious server read client files
- [#269](https://github.com/apache/spark/security/dependabot/269) (low):
[CVE-2026-119280](https://github.com/advisories/GHSA-4jq2-8v3c-97w8) XA
`recover()` trusted server-supplied gtrid and bqual lengths
- [#270](https://github.com/apache/spark/security/dependabot/270) (medium):
[CVE-2026-119276](https://github.com/advisories/GHSA-h599-m3w5-9m7x) 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
Closes #60104 from dongjoon-hyun/SPARK-60889.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 1245a5d8dce3..609fdb6b88ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -346,7 +346,7 @@
--enable-native-access=ALL-UNNAMED
-XX:+EnableDynamicAgentLoading
</extraJavaTestArgs>
- <mariadb.java.client.version>3.5.10</mariadb.java.client.version>
+ <mariadb.java.client.version>3.5.11</mariadb.java.client.version>
<mysql.connector.version>9.6.0</mysql.connector.version>
<postgresql.version>42.7.13</postgresql.version>
<db2.jcc.version>12.1.4.0</db2.jcc.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]