You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Addressed CVE-2025-59250: JDBC Driver for SQL Server Spoofing Vulnerability: Improper input validation in JDBC Driver for SQL Server allows an unauthorized attacker to perform spoofing over a network.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,60 @@
2
2
All notable changes to this project will be documented in this file.
3
3
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
+
## [13.2.1] Hotfix & Stable Release
6
+
7
+
### Added
8
+
9
+
-**Enable Vector data type tests on Azure SQL Database**[#2762](https://github.com/microsoft/mssql-jdbc/pull/2762)
10
+
**What was added**: Vector data type tests are now enabled to run against Azure SQL Database.
11
+
**Who benefits**: Developers testing VECTOR functionality in Azure SQL DB environments.
12
+
**Impact**: Ensures VECTOR data type support test coverage.
13
+
14
+
-**Enable JSON data type tests on Azure SQL Database**[#2756](https://github.com/microsoft/mssql-jdbc/pull/2756)
15
+
**What was added**: JSON data type tests are now enabled to run against Azure SQL Database.
16
+
**Who benefits**: Developers testing JSON functionality in Azure SQL DB environments.
17
+
**Impact**: Ensures JSON data type support test coverage.
18
+
19
+
### Changed
20
+
21
+
-**Revert function/procedure filtering via sys.all_objects**[#2751](https://github.com/microsoft/mssql-jdbc/pull/2751)
22
+
**What changed**: Reverted #2705 change that used sys.all_objects for filtering. Restores previous behavior to maintain consistency across metadata APIs.
23
+
**Who benefits**: Developers using getProcedures() and getFunctions() in JDBC.
24
+
**Impact**: Preserves compatibility with numbered procedures and avoids discrepancies between APIs.
25
+
26
+
### Fixed issues
27
+
28
+
-**JDK 8 compatibility for vector datatype handling**[#2750](https://github.com/microsoft/mssql-jdbc/pull/2750)
29
+
**What was fixed**: Ensured fallback to JVM system property javax.net.ssl.trustStoreType if connection property is unset.
30
+
**Who benefits**: Users configuring SSL via system properties.
31
+
**Impact**: Enables proper SSL trust store resolution, improving compatibility with system configurations.
32
+
33
+
-**PreparedStatement getGeneratedKeys() failure with triggers**[#2742](https://github.com/microsoft/mssql-jdbc/pull/2742)
34
+
**What was fixed**: Fixed error "The statement must be executed before any results can be obtained" when using insert triggers with generated keys.
35
+
**Who benefits**: Developers retrieving generated keys from inserts with triggers.
36
+
**Impact**: Restores correct behavior for both update count accuracy and generated keys retrieval in trigger scenarios.
**What was fixed**: Corrected Byte Buddy (1.15.11) dependency scope to test instead of compile.
40
+
**Who benefits**: Developers and users of runtime artifacts.
41
+
**Impact**: Reduces runtime artifact size (~8 MB) and ensures Byte Buddy is only included for unit tests.
42
+
43
+
-**DatabaseMetaData.getIndexInfo() NON_UNIQUE value inconsistency**[#2773](https://github.com/microsoft/mssql-jdbc/pull/2773)
44
+
**What was fixed**: Fixed incorrect NON_UNIQUE values due to mismatched handling of sp_statistics and sys.indexes.
45
+
**Who benefits**: Applications depending on accurate index metadata.
46
+
**Impact**: Provides consistent value of NON_UNIQUE field across SQL Server and Azure Synapse Analytics.
47
+
48
+
-**DatabaseMetaData.getIndexInfo() invalid cursor position exception**[2763](https://github.com/microsoft/mssql-jdbc/pull/2763)
49
+
**What was fixed**: Fixed SQLException: Invalid cursor position caused when calling ResultSet.next() after exhaustion due to CachedRowSet strict cursor validation.
50
+
**Who benefits**: Developers consuming metadata via DatabaseMetaData.getIndexInfo() on SQL Server or Azure Synapse DW.
51
+
**Impact**: Replaces CachedRowSet merging with a UNION ALL query, ensuring standard JDBC cursor behavior while maintaining columnstore index support.
52
+
53
+
-**Address a hostname validation vulnerability by securely parsing certificate common names.**
54
+
**What was fixed**: Secure hostname validation is enforced by replacing the vulnerable CN parsing logic in SQLServerCertificateUtils.java, preventing spoofing attacks.
55
+
**Who benefits**: All users of the SQL Server JDBC driver, especially those relying on TLS for secure connections, benefit from improved certificate validation.
56
+
**Impact**: This fix closes a security gap, protecting applications from man-in-the-middle attacks and ensuring compliance with security best practices.
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ We're now on the Maven Central Repository. Add the following to your POM file to
83
83
<dependency>
84
84
<groupId>com.microsoft.sqlserver</groupId>
85
85
<artifactId>mssql-jdbc</artifactId>
86
-
<version>13.2.0.jre11</version>
86
+
<version>13.2.1.jre11</version>
87
87
</dependency>
88
88
```
89
89
The driver can be downloaded from [Microsoft](https://aka.ms/downloadmssqljdbc). For driver version 12.1.0 and greater, please use the jre11 version when using Java 11 or greater, and the jre8 version when using Java 8.
@@ -94,7 +94,7 @@ To get the latest version of the driver, add the following to your POM file:
94
94
<dependency>
95
95
<groupId>com.microsoft.sqlserver</groupId>
96
96
<artifactId>mssql-jdbc</artifactId>
97
-
<version>13.2.0.jre11</version>
97
+
<version>13.2.1.jre11</version>
98
98
</dependency>
99
99
```
100
100
@@ -129,7 +129,7 @@ Projects that require either of the two features need to explicitly declare the
129
129
<dependency>
130
130
<groupId>com.microsoft.sqlserver</groupId>
131
131
<artifactId>mssql-jdbc</artifactId>
132
-
<version>13.2.0.jre11</version>
132
+
<version>13.2.1.jre11</version>
133
133
<scope>compile</scope>
134
134
</dependency>
135
135
@@ -147,7 +147,7 @@ Projects that require either of the two features need to explicitly declare the
147
147
<dependency>
148
148
<groupId>com.microsoft.sqlserver</groupId>
149
149
<artifactId>mssql-jdbc</artifactId>
150
-
<version>13.2.0.jre11</version>
150
+
<version>13.2.1.jre11</version>
151
151
<scope>compile</scope>
152
152
</dependency>
153
153
@@ -174,7 +174,7 @@ When setting 'useFmtOnly' property to 'true' for establishing a connection or cr
Copy file name to clipboardExpand all lines: mssql-jdbc_auth_LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
MICROSOFT SOFTWARE LICENSE TERMS
2
-
MICROSOFT JDBC DRIVER 13.2.0 FOR SQL SERVER
2
+
MICROSOFT JDBC DRIVER 13.2.1 FOR SQL SERVER
3
3
4
4
These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They apply to the software named above and any Microsoft services or software updates (except to the extent such services or updates are accompanied by new or additional terms, in which case those different terms apply prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.
0 commit comments