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

CVE-2024-37340 is a high-severity remote code execution vulnerability in Microsoft SQL Server 2017 (GDR) related to untrusted pointer dereference in the Native Scoring component. It allows an attacker with low privileges and no user interaction to execute arbitrary code remotely, potentially compromising confidentiality, integrity, and availability of the affected system. The vulnerability stems from improper handling of pointers, classified under CWE-822. Although no known exploits are currently in the wild, the vulnerability's CVSS score of 8. 8 indicates significant risk. Organizations using SQL Server 2017 should prioritize patching once updates are available and implement strict access controls to mitigate exploitation. Countries with widespread use of Microsoft SQL Server and critical infrastructure relying on it are at higher risk. Immediate mitigation steps include restricting network access to SQL Server instances and monitoring for suspicious activity related to Native Scoring operations.

AI-Powered Analysis

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.

Need more detailed analysis?Upgrade to Pro Console

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: 2/26/2026, 6:25:36 AM

Views: 1

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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats