#VU60553 Heap-based buffer overflow in MariaDB


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

Vulnerability identifier: #VU60553

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

CWE-ID: CWE-122

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 requests. A remote user can send a specially crafted SQL query to the database instance, trigger a heap-based buffer overflow 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-367/
http://www.zerodayinitiative.com/advisories/ZDI-22-366/


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