CVE-2022-32081 Use after free in n/a
A use-after-free vulnerability in MariaDB allows attackers to cause a denial of service or potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-32081?
CVE-2022-32081 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 1 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
MariaDB v10.4 to v10.7 was discovered to contain an use-after-poison in prepare_inplace_add_virtual at /storage/innobase/handler/handler0alter.cc.
Weakness: CWE-416
Which versions are affected by CVE-2022-32081?
3 open source packages ship an affected version, including mariadb, mariadb-min and mysql-client. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
mariadb Bitnami | From 10.4.0 | 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
mariadb-min Bitnami | From 10.4.0 | 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
mysql-client Bitnami | From 10.4.0 | 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
Products include Fedoraproject Fedora, Mariadb Mariadb.
How do I fix CVE-2022-32081?
Upgrade mariadb to a fixed version for your release line: 10.4.26, 10.5.17, 10.6.9 or 10.7.5.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-32081 being exploited?
There is no known exploitation of CVE-2022-32081 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2022-32081, AZL-10606, BIT-mariadb-2022-32081, BIT-mariadb-min-2022-32081, BIT-mysql-client-2022-32081, DEBIAN-CVE-2022-32081 and 2 more.