{"schemaVersion":3,"id":"CVE-2024-21332","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"SQL Server Native Client OLE DB Provider Remote Code Execution Vulnerability","dates":{"published":"2024-07-09T17:02:12.491Z","modified":"2025-12-09T23:46:25.262Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01789,"percentile":0.78052,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01789},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01789,"percentile":0.78052}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01789,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01789,"percentile":0.78052}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"microsoft","product":"microsoft sql server 2016 service pack 3 azure connect feature pack","name":"Microsoft SQL Server 2016 Service Pack 3 Azure Connect Feature Pack","label":"microsoft sql server 2016 service pack 3 azure connect feature pack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 13.0.0, < 13.0.7037.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.0.0, < 13.0.7037.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2016_service_pack_3_azure_connect_feature_pack"},{"vendor":"microsoft","product":"microsoft sql server 2016 service pack 3 (gdr)","name":"Microsoft SQL Server 2016 Service Pack 3 (GDR)","label":"microsoft sql server 2016 service pack 3 (gdr)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 13.0.0, < 13.0.6441.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.0.0, < 13.0.6441.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2016_service_pack_3_gdr"},{"vendor":"microsoft","product":"microsoft sql server 2017 (cu 31)","name":"Microsoft SQL Server 2017 (CU 31)","label":"microsoft sql server 2017 (cu 31)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 14.0.0, < 14.0.3471.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 14.0.0, < 14.0.3471.2","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2017_cu_31"},{"vendor":"microsoft","product":"microsoft sql server 2017 (gdr)","name":"Microsoft SQL Server 2017 (GDR)","label":"microsoft sql server 2017 (gdr)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 14.0.0, < 14.0.2056.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 14.0.0, < 14.0.2056.2","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2017_gdr"},{"vendor":"microsoft","product":"microsoft sql server 2019 for x64-based systems (cu 27)","name":"Microsoft SQL Server 2019 for x64-based Systems (CU 27)","label":"microsoft sql server 2019 for x64-based systems (cu 27)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 15.0.0, < 15.0.4382.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 15.0.0, < 15.0.4382.1","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2019_for_x64-based_systems_cu_27"},{"vendor":"microsoft","product":"microsoft sql server 2019 (gdr)","name":"Microsoft SQL Server 2019 (GDR)","label":"microsoft sql server 2019 (gdr)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 15.0.0, < 15.0.2116.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 15.0.0, < 15.0.2116.2","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2019_gdr"},{"vendor":"microsoft","product":"microsoft sql server 2022 for (cu 13)","name":"Microsoft SQL Server 2022 for (CU 13)","label":"microsoft sql server 2022 for (cu 13)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 16.0.0, < 16.0.4131.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 16.0.0, < 16.0.4131.2","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2022_for_cu_13"},{"vendor":"microsoft","product":"microsoft sql server 2022 (gdr)","name":"Microsoft SQL Server 2022 (GDR)","label":"microsoft sql server 2022 (gdr)","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 16.0.0, < 16.0.1121.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 16.0.0, < 16.0.1121.4","eol":null,"hubHref":"/vendor/microsoft/microsoft_sql_server_2022_gdr"},{"vendor":"microsoft","product":"sql_server_2016","name":"sql server 2016","label":"sql_server_2016","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 13.0.6300.2, < 13.0.6441.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 13.0.7000.253, < 13.0.7037.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 13.0.6300.2, < 13.0.6441.1 | ≥ 13.0.7000.253, < 13.0.7037.1","eol":null,"hubHref":"/vendor/microsoft/sql_server_2016"},{"vendor":"microsoft","product":"sql_server_2017","name":"sql server 2017","label":"sql_server_2017","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 14.0.1000.169, < 14.0.2056.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 14.0.3006.16, < 14.0.3471.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 14.0.1000.169, < 14.0.2056.2 | ≥ 14.0.3006.16, < 14.0.3471.2","eol":null,"hubHref":"/vendor/microsoft/sql_server_2017"},{"vendor":"microsoft","product":"sql_server_2019","name":"sql server 2019","label":"sql_server_2019","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 15.0.2000.5, < 15.0.2116.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 15.0.4003.23, < 15.0.4382.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 15.0.2000.5, < 15.0.2116.2 | ≥ 15.0.4003.23, < 15.0.4382.1","eol":null,"hubHref":"/vendor/microsoft/sql_server_2019"},{"vendor":"microsoft","product":"sql_server_2022","name":"sql server 2022","label":"sql_server_2022","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 16.0.1000.6, < 16.0.1121.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0.4003.1, < 16.0.4131.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 16.0.1000.6, < 16.0.1121.4 | ≥ 16.0.4003.1, < 16.0.4131.2","eol":null,"hubHref":"/vendor/microsoft/sql_server_2022"}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21332","label":"msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21332","hostname":"msrc.microsoft.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-07-09T17:02:12.491Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-09T23:46:25.262Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:15:34.603Z","stale":false,"partial":false}}