Use-after-free in Microsoft SQL Server - CVE-2024-21308

 

Use-after-free in Microsoft SQL Server - CVE-2024-21308

Published: July 9, 2024


Vulnerability identifier: #VU93974
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-21308
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

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


Affected software

Microsoft SQL Server

How to mitigate CVE-2024-21308

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