← Back
CVE-2025-59250
Vulnerability in com.microsoft.sqlserver:mssql-jdbc (CVE-2025-59250)
Summary
vulnerability in com.microsoft.sqlserver:mssql-jdbc (CVE-2025-59250). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `10.2.4.jre11` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2025-59250** has been found in com.microsoft.sqlserver:mssql-jdbc.
Risk of unauthorized operations or information disclosure. CVSS score: ?/10.
What to do: upgrade com.microsoft.sqlserver:mssql-jdbc to **10.2.4.jre11** or later.
If unsure, ask your IT team or search "com.microsoft.sqlserver:mssql-jdbc CVE-2025-59250" on the vendor's site.
CVE-2025-59250 (com.microsoft.sqlserver:mssql-jdbc) — CWE-20 /
Patched: `10.2.4.jre11` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**A vulnerability** (CWE-20) exists in com.microsoft.sqlserver:mssql-jdbc.
📍 Affected scope
com.microsoft.sqlserver:mssql-jdbc — .
🔥 Severity
Severity: ?. Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to **10.2.4.jre11**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'com.microsoft.sqlserver:mssql-jdbc' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'com.microsoft.sqlserver:mssql-jdbc' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `com.microsoft.sqlserver:mssql-jdbc` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade com.microsoft.sqlserver:mssql-jdbc to 10.2.4.jre11ステージング環境で 10.2.4.jre11 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
maven
com.microsoft.sqlserver:mssql-jdbc
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.2.4.jre11"}]}]
References
- web https://nvd.nist.gov/vuln/detail/CVE-2025-59250
- web https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59250
- web https://github.com/microsoft/mssql-jdbc/pull/2798
- web https://github.com/microsoft/mssql-jdbc/pull/2800
- web https://github.com/microsoft/mssql-jdbc/pull/2801
- web https://github.com/microsoft/mssql-jdbc/pull/2802
- web https://github.com/microsoft/mssql-jdbc/pull/2803
- web https://github.com/microsoft/mssql-jdbc/pull/2807
- web https://github.com/microsoft/mssql-jdbc/blob/main/CHANGELOG.md
- web https://github.com/microsoft/mssql-jdbc/commit/9732e1bbc6ec44166fda2cddab31ce1c86c873dd#diff-45367b99a1951943bfecfc7765e80df687967aa56286a5b2e039f77cd9a0e118
- web https://learn.microsoft.com/en-us/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix
- web https://github.com/advisories/GHSA-m494-w24q-6f7w