#VU60554 Use-after-free in MariaDB


Published: 2022-02-12 | Updated: 2022-02-16

Vulnerability identifier: #VU60554

Vulnerability risk: Medium

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-24050

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
MariaDB
Server applications / Database software

Vendor: MariaDB Foundation

Description

The vulnerability allows a remote user to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in the storage engine when processing CONNECT queries. A remote user can send a specially crafted SQL query to the database instance, trigger a use-after-free error and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

MariaDB: 10.8.0, 10.7.0 - 10.7.1, 10.6.0 - 10.6.5, 10.5.0 - 10.5.13, 10.4.0 - 10.4.22, 10.3.0 - 10.3.32, 10.2.0 - 10.2.41


External links
http://mariadb.com/kb/en/security/
http://www.zerodayinitiative.com/advisories/ZDI-22-364/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability