CVE-2022-24050: MariaDB CONNECT Storage Engine Use-After-Free Privilege Escalation Vulnerability.
High CVSS 7.8
- CVE id
- CVE-2022-24050
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| MariaDB Runtimes and servers |
>= 10.2.0, < 10.2.42 >= 10.3.0, < 10.3.33 >= 10.4.0, < 10.4.23 >= 10.5.0, < 10.5.14 >= 10.6.0, < 10.6.6 >= 10.7.0, < 10.7.2 |
10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2 |
How to fix it
Upgrade MariaDB to the fixed release of the line you run: 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2.
mariadbd --version
- Install the patched MariaDB release of your series (the mariadb image tag or your packages) and restart the server.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-24050 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-24050
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- Web: https://mariadb.com/kb/en/security/
- Web: https://security.netapp.com/advisory/ntap-20220318-0004/
- Web: https://www.zerodayinitiative.com/advisories/ZDI-22-364/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKJRBYJAQCOPHSED43A3HUPNKQLDTFGD/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZFZVMJL5UDTOZMARLXQIMG3BTG6UNYW/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ4KDAGF3H4D4BDTHRAM6ZEAJJWWMRUO/
- Web: https://mariadb.com/kb/en/security/
- Web: https://security.netapp.com/advisory/ntap-20220318-0004/
- Web: https://www.zerodayinitiative.com/advisories/ZDI-22-364/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.