#VU60552 Format string error in MariaDB - CVE-2022-24051


| Updated: 2022-02-16

Vulnerability identifier: #VU60552

Vulnerability risk: Medium

CVSSv4.0: 5.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-24051

CWE-ID: CWE-134

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
MariaDB
Server applications / Database software

Vendor: MariaDB Foundation

Description

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

The vulnerability exists due to a format string error in the CONNECT function implementation. A remote user with access to database can send a specially crafted SQL query that contains format string specifiers and execute arbitrary code on the target system.

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

Mitigation
Install update from vendor's website.

Vulnerable software versions

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


External links
https://www.zerodayinitiative.com/advisories/ZDI-22-318/
https://mariadb.com/kb/en/security/
https://www.zerodayinitiative.com/advisories/ZDI-22-365/


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