Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-37340: CWE-822: Untrusted Pointer Dereference in Microsoft Microsoft SQL Server 2017 (GDR)

0
High
VulnerabilityCVE-2024-37340cvecve-2024-37340cwe-822
Published: Tue Sep 10 2024 (09/10/2024, 16:53:37 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Microsoft SQL Server 2017 (GDR)

Description

Microsoft SQL Server Native Scoring Remote Code Execution Vulnerability

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 05:12:17 UTC

Technical Analysis

CVE-2024-37340 is a vulnerability identified in Microsoft SQL Server 2017 (GDR), specifically affecting version 14.0.0. The flaw is categorized as CWE-822, which involves untrusted pointer dereference, a condition where the software dereferences a pointer that can be controlled or influenced by an attacker, leading to undefined behavior. In this case, the vulnerability exists within the Native Scoring component of SQL Server, which is used for executing machine learning models and scoring data. An attacker with low privileges (PR:L) can exploit this vulnerability remotely (AV:N) without requiring user interaction (UI:N). The vulnerability allows for remote code execution (RCE), meaning an attacker could run arbitrary code on the affected server, potentially gaining full control. The CVSS v3.1 score of 8.8 reflects a high severity due to the combination of network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. No public exploits or patches are currently available, but the vulnerability has been officially published and reserved since June 2024. The vulnerability's exploitation could lead to severe consequences, including data breaches, service disruption, and further lateral movement within networks.

Potential Impact

The impact of CVE-2024-37340 is substantial for organizations globally that rely on Microsoft SQL Server 2017, especially those using the Native Scoring feature for machine learning tasks. Successful exploitation could allow attackers to execute arbitrary code remotely, leading to full system compromise. This threatens the confidentiality of sensitive data stored in SQL Server databases, the integrity of business-critical applications, and the availability of database services. Organizations in sectors such as finance, healthcare, government, and critical infrastructure are particularly at risk due to the sensitive nature of their data and reliance on SQL Server. The vulnerability could facilitate ransomware deployment, data exfiltration, or disruption of essential services. Given the ease of exploitation (no user interaction, low privileges required), attackers could automate attacks at scale, increasing the threat surface. The absence of known exploits in the wild currently reduces immediate risk but does not eliminate the urgency for mitigation.

Mitigation Recommendations

1. Apply official patches from Microsoft as soon as they become available to address CVE-2024-37340. 2. Until patches are released, restrict network access to SQL Server instances, especially limiting exposure to untrusted networks and the internet. 3. Implement strict least-privilege access controls for SQL Server accounts, minimizing permissions to only what is necessary. 4. Monitor SQL Server logs and network traffic for unusual activity related to Native Scoring operations or unexpected remote code execution attempts. 5. Employ network segmentation to isolate SQL Server environments from other critical systems. 6. Use application whitelisting and endpoint detection and response (EDR) tools to detect and block suspicious processes spawned by SQL Server. 7. Regularly review and update security configurations and conduct penetration testing focused on SQL Server components. 8. Educate database administrators and security teams about this vulnerability and recommended response procedures.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
microsoft
Date Reserved
2024-06-05T20:19:26.777Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c66b7ef31ef0b563abb

Added to database: 2/25/2026, 9:40:54 PM

Last enriched: 2/26/2026, 5:12:17 AM

Last updated: 4/12/2026, 2:02:07 AM

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses