Double free in Microsoft SQL Server - CVE-2024-38087

 

Double free in Microsoft SQL Server - CVE-2024-38087

Published: July 9, 2024


Vulnerability identifier: #VU93995
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-38087
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in SQL Server Native Client OLE DB Provider. A remote attacker can trick a victim to connect to a malicious SQL server database, trigger double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Microsoft SQL Server

How to mitigate CVE-2024-38087

Install updates from vendor's website.

Microsoft SQL Server - addressed in versions 2016 SP3 13.0.6441.1, 2016 SP3 13.0.7037.1, 2017 CU31 14.0.3471.2, 2017 14.0.2056.2, 2019 CU27 15.0.4382.1, 2019 15.0.2116.2, 2022 CU13 16.0.4131.2, 2022 16.0.1121.4

External References

Related Security Bulletins