Skip to the content
The Update Bureau
SQL Server 2017 GDR SQL Server 2017 GDR Security update
Patch Tuesday

KB5065224

KB5065224: Security update for SQL Server 2017, GDR branch, September 2025. Sensitive DMV data exposure and temporal-table SQL flaws fixed

In short

The update fixes three SQL Server vulnerabilities, including publicly disclosed CVE-2024-21907, and addresses sensitive-data exposure through DMVs and unsafe input validation during temporal-table cleanup.

Does it affect you? Applies to: Devices running SQL Server 2017 on the GDR servicing branch. The package is x64; the listed fixes cover Windows and Linux.

Build
14.0.2085.1
Servicing branch
GDR
Security
3 fixed
Restart
Required

For servers on the GDR branch: they get security fixes only. Servers that install cumulative updates (CU branch) get a separate update. Which branch am I on?

What changes

Fixes 4 changes

Integration Services

  • SSIS uses Newtonsoft.Json version 13.0.1 to address CVE-2024-21907.1
    Updates Newtonsoft.json.dll on SSIS.

Master Data Services

  • Master Data Services uses Newtonsoft.Json version 13.0.1 to address CVE-2024-21907.2
    Updates Newtonsoft.json.dll on MDS.

Programmability

  • Sensitive SQL statement text from other sessions is no longer exposed in the described DMV scenarios.3
    Fixes scenarios in which DMVs are used to inspect statements running in other sessions.

Temporal

  • The update fixes an input-validation flaw during internal temporal history table cleanup that could let attackers with elevated privileges run SQL code.4
    Fixes improper input validation during internal temporal history table cleanup.

Technical details

Data sheet · Security · Downloads · Components Click to collapse or expand

Data sheet

Released
2025-09-09
Classification
Security Updates
Type
Cumulative update
Servicing branch
GDR
Restart
Required
Replaces
KB5063760, KB5058716, KB5046857, KB5046058
+2 earlier KB5042217, KB5040942
Replaced by
KB5068403
VersionBuildChannel
2017 14.0.2085.1 General availability

Security

3 vulnerabilities fixed
2 important 1 not rated
VulnerabilitySeverityCVSS
Microsoft SQL Server Elevation of Privilege Vulnerability
Important 8.8
Microsoft SQL Server Information Disclosure Vulnerability
Important 6.5
VulnCheck: CVE-2024-21907 Improper Handling of Exceptional Conditions in Newtonsoft.Json
Not rated —

Downloads (Microsoft Update Catalog)

Updated components

128 files changed since the previous update for the same versions.

Top changed componentsFiles
SQL Server Engine92

Sources

Updated
Cited passages from Microsoft's official notes (4)
  1. 1. Upgrade Newtonsoft.json.dll version to 13.0.1 on SSIS to fix vulnerability (CVE-2024-21907) support.microsoft.com
  2. 2. Upgrade Newtonsoft.json.dll version to 13.0.1 on MDS to fix vulnerability (CVE-2024-21907). support.microsoft.com
  3. 3. Fixes an issue in which DMVs are used in specific scenarios to inspect the text of statements that are running in other sessions and might contain sensitive data. support.microsoft.com
  4. 4. Fixes improper input validation that occurs during internal temporal history table cleanup and that enables attackers to run SQL code by having elevated privileges. support.microsoft.com
Checked automatically: 8 of 8 checks passed, 4 quoted passages · compared with Microsoft's page on Oct 20, 2026
  • Quotes found in the official pages: passed
  • Numbers found in the sources: passed
  • Vulnerabilities from the dossier only: passed
  • Links to allowed domains only: passed
  • Every official change covered: passed
  • Readable plain text: passed
  • Changes confirmed by the file list: passed
  • Sources agree: passed

A second AI read the text against the sources: correctness 5/5, clarity 4/5, completeness 5/5. How we work

Published by The Update Bureau. Written with AI from Microsoft's own documents, checked by rules and a second AI. How we work · Report a mistake