Skip to content

CVE-2025-59250 false positive: bump mssql-jdbc to 13.4.0.jre11 - #856

Merged
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:cve-2025-59250-mssql-jdbc-13.4.0
Aug 7, 2026
Merged

CVE-2025-59250 false positive: bump mssql-jdbc to 13.4.0.jre11#856
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:cve-2025-59250-mssql-jdbc-13.4.0

Conversation

@vharseko

@vharseko vharseko commented Aug 7, 2026

Copy link
Copy Markdown
Member

Trivy flags the packaged server with CVE-2025-59250 even though the bundled mssql-jdbc-12.10.2.jre11.jar is already the patched release: Microsoft writes a truncated version=12.10.2 into the jar's embedded META-INF/.../pom.properties, and Trivy compares that string against the fixed version 12.10.2.jre11 (12.10.2 < 12.10.2.jre11), so the alert never clears. The same truncation exists in every .jre11 build of the affected lines, so bumping within the 12.10.x line would not help.

Upgrading to 13.4.0.jre11 (latest stable) resolves it: the embedded version 13.4.0 is outside all affected ranges of GHSA-m494-w24q-6f7w, and OSV reports no known vulnerabilities for 13.4.0.

The driver is only loaded via DriverManager (no compile-time usage), and mvn dependency:resolve confirms the new artifact resolves.

The bundled 12.10.2.jre11 jar is already patched, but its embedded
pom.properties says "12.10.2", which Trivy compares against the fixed
version 12.10.2.jre11 and reports as vulnerable. 13.4.0 is outside all
affected ranges, so the scanner no longer flags it.
@vharseko
vharseko requested a review from maximthomas August 7, 2026 09:06
@vharseko vharseko added security Security fixes / CodeQL code-scanning alerts dependencies Pull requests that update a dependency file jdbc labels Aug 7, 2026
@vharseko
vharseko merged commit 95023d4 into OpenIdentityPlatform:master Aug 7, 2026
17 checks passed
@vharseko
vharseko deleted the cve-2025-59250-mssql-jdbc-13.4.0 branch August 7, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file jdbc security Security fixes / CodeQL code-scanning alerts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant