#VU60555 Buffer overflow in MariaDB


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

Vulnerability identifier: #VU60555

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-24048

CWE-ID: CWE-119

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 boundary error in the storage engine when processing CONNECT queries. A remote authenticated user can send a specially crafted SQL query to the affected database instance, trigger a memory corruption 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.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-368/
http://www.zerodayinitiative.com/advisories/ZDI-22-363/


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