CVE-2022-24050: MariaDB CONNECT Storage Engine Use-After-Free Privilege Escalation Vulnerability

Published Feb 16, 2022
·
Updated

MariaDB CONNECT Storage Engine Use-After-Free 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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16207.

Other sources

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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account

References: https://www.zerodayinitiative.com/advisories/ZDI-22-364/ https://mariadb.com/kb/en/security/ https://security.netapp.com/advisory/ntap-20220318-0004/

Red Hat

Affected Software

17 affected componentsFixes available
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
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.8.1
  2. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.7.2
  3. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.6.6
  4. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.5.14
  5. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.4.23
  6. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.3.33
  7. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.2.42

Event History

Feb 16, 2022
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Feb 18, 2022
CVE Published
via MITRE·07:51 PM
Data Sourced
via MITRE·07:51 PM
DescriptionSeverityWeakness
Mar 29, 2022
Data Sourced
via Red Hat·07:37 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-24050?

CVE-2022-24050 is a vulnerability in the MariaDB CONNECT Storage Engine that allows local attackers to escalate privileges on affected installations of MariaDB.

2

Who is affected by CVE-2022-24050?

Anyone with an affected installation of MariaDB version 10.2.0 to 10.2.42, 10.3.0 to 10.3.33, 10.4.0 to 10.4.23, 10.5.0 to 10.5.14, 10.6.0 to 10.6.6, 10.7.0 to 10.7.2, or 10.8.0 is potentially affected by CVE-2022-24050.

3

What is the severity of CVE-2022-24050?

The severity of CVE-2022-24050 is rated as high with a CVSS score of 7.8.

4

How can I fix CVE-2022-24050?

To fix CVE-2022-24050, users should update to MariaDB version 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2, or 10.8.1.

5

Where can I find more information about CVE-2022-24050?

For more information about CVE-2022-24050, you can visit the MariaDB Security Knowledge Base at https://mariadb.com/kb/en/security/ or the Zero Day Initiative advisories at https://www.zerodayinitiative.com/advisories/ZDI-22-364/.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203