VDB

CVE-2022-24050

CVE-2022-24050 PUBLISHED CVSS 7 HIGH

Reported by zdi · Published February 18, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mysql-clientBitnami10.8.1, 10.7.2, 10.6.6, 10.5.14, 10.4.23, 10.3.33, 10.2.42
mariadb105-develAmazon Linux3:10.5.16-1.amzn2023.0.7
mariadb105-pamAmazon Linux3:10.5.16-1.amzn2023.0.7
mariadb105-sphinx-engineAmazon Linux3:10.5.16-1.amzn2023.0.7
mariadbmariadb10.7.2, 10.6.6, 10.5.14, 10.4.23, 10.3.33, 10.2.42
mysql-clientBitnami10.8.1, 10.7.2, 10.6.6, 10.5.14, 10.4.23, 10.3.33, 10.2.42

Risk scores

CVSS 3.0
7
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
MariaDBMariaDB10.6.5
amazon:2023mariadb105-devel0
amazon:2023mariadb105-pam0
amazon:2023mariadb105-sphinx-engine0
MariaDBMariaDB10.6.5
amazon:2023mariadb105-server0
amazon:2023mariadb105-cracklib-password-check0
amazon:2023mariadb105-common0
amazon:2023mariadb105-rocksdb-engine0
alpinemariadb0, 0, 0
amazon:2023mariadb105-server-utils0
amazon:2023mariadb105-test0
amazon:2023mariadb105-oqgraph-engine0
amazon:2023mariadb105-gssapi-server0
amazon:2023mariadb1050
amazon:2023mariadb105-connect-engine0
amazon:2023mariadb105-backup0
amazon:2023mariadb105-errmsg0

Timeline

  • Feb 9, 2022 CVE Published
  • Feb 19, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (8 in total, the first dated here)
  • Jul 4, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-24050
vulnetix vdb fixes CVE-2022-24050

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-24050/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›