From b34f31f8350b265fda2700e0c0ad70726565af78 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 04 Nov 2025 20:11:25 +0000
Subject: [PATCH] CVE-2025-59250 JDBC Driver for SQL Server has improper input validation issue (#570)

---
 opendj-server-legacy/src/test/java/org/opends/server/types/HostPortTest.java |    2 +-
 opendj-server-legacy/pom.xml                                                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/pom.xml b/opendj-server-legacy/pom.xml
index 53824dd..fd1fd6c 100644
--- a/opendj-server-legacy/pom.xml
+++ b/opendj-server-legacy/pom.xml
@@ -319,7 +319,7 @@
     <dependency>
       <groupId>com.microsoft.sqlserver</groupId>
       <artifactId>mssql-jdbc</artifactId>
-      <version>12.10.0.jre8</version>
+      <version>12.10.2.jre11</version>
     </dependency>
     <dependency>
       <groupId>org.bouncycastle</groupId>
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/types/HostPortTest.java b/opendj-server-legacy/src/test/java/org/opends/server/types/HostPortTest.java
index a3c2ad4..fe60d4b 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/types/HostPortTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/types/HostPortTest.java
@@ -256,7 +256,7 @@
     HostPort hpNull = new HostPort(null, 0);
     assertThat(hp1.isEquivalentTo(hpNull)).isFalse();
 
-    HostPort nonLocalHp = HostPort.valueOf("example.org:389");
+    HostPort nonLocalHp = HostPort.valueOf("www.openidentityplatform.org:389");
     assertThat(nonLocalHp.isEquivalentTo(nonLocalHp)).isTrue();
     assertThat(hp1.isEquivalentTo(nonLocalHp)).isFalse();
     assertThat(nonLocalHp.isEquivalentTo(hp1)).isFalse();

--
Gitblit v1.10.0