CVE-2022-24048

high

Description

MariaDB CONNECT Storage Engine Stack-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of SQL queries. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16191.

References

https://www.zerodayinitiative.com/advisories/ZDI-22-363/

https://mariadb.com/kb/en/security/

https://security.netapp.com/advisory/ntap-20220318-0004/

https://lists.fedoraproject.org/archives/list/[email protected]/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/

https://lists.fedoraproject.org/archives/list/[email protected]/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/

https://lists.fedoraproject.org/archives/list/[email protected]/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/

Details

Source: MITRE

Published: 2022-02-18

Updated: 2022-06-30

Type: CWE-121

Risk Information

CVSS v2

Base Score: 4.6

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 3.9

Severity: MEDIUM

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH