7.8
CWE
121 119
Advisory Published
Advisory Published
Updated

CVE-2022-24048: MariaDB CONNECT Storage Engine Stack-based Buffer Overflow Privilege Escalation Vulnerability

First published: Fri Feb 18 2022(Updated: )

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.

Credit: zdi-disclosures@trendmicro.com

Affected SoftwareAffected VersionHow to fix
Mariadb Mariadb
Mariadb Mariadb>=10.2.0<10.2.42
Mariadb Mariadb>=10.3.0<10.3.33
Mariadb Mariadb>=10.4.0<10.4.23
Mariadb Mariadb>=10.5.0<10.5.14
Mariadb Mariadb>=10.6.0<10.6.6
Mariadb Mariadb>=10.7.0<10.7.2
Mariadb Mariadb=10.8.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
redhat/mariadb<10.8.1
10.8.1
redhat/mariadb<10.7.2
10.7.2
redhat/mariadb<10.6.6
10.6.6
redhat/mariadb<10.5.14
10.5.14
redhat/mariadb<10.4.23
10.4.23
redhat/mariadb<10.3.33
10.3.33
redhat/mariadb<10.2.42
10.2.42

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the vulnerability ID for this issue?

    The vulnerability ID for this issue is CVE-2022-24048.

  • What is the severity of CVE-2022-24048?

    CVE-2022-24048 has a severity score of 7.8 (High).

  • Who is affected by CVE-2022-24048?

    Users of MariaDB versions 10.2.0 to 10.7.2 are affected by CVE-2022-24048.

  • How can this vulnerability be exploited?

    This vulnerability can be exploited by local attackers with authentication to escalate privileges on affected installations of MariaDB.

  • How do I fix CVE-2022-24048?

    To fix CVE-2022-24048, update to a version of MariaDB that includes the fix, such as version 10.8.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203