Vulnerabilities · 2021 · Mariadb
CVE-2021-27928
Mariadb vulnerability
A remote code execution issue was discovered in MariaDB 10.2 before 10.2.37, 10.3 before 10.3.28, 10.4 before 10.4.18, and 10.5 before 10.5.9; Percona Server through 2021-03-03; and the wsrep patch through 2021-03-03 for MySQL. An untrusted search path leads to eval injection, in which a database SUPER user can execute OS commands after modifying wsrep_provider and wsrep_notify_cmd. NOTE: this does not affect an Oracle product.
Affected products
Mariadb, Percona Server, Wsrep, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mariadb runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- jira.mariadb.org/browse/MDEV-25179 · Vendor Advisory
- mariadb.com/kb/en/mariadb-10237-release-notes/ · Vendor Advisory
- mariadb.com/kb/en/mariadb-10328-release-notes/ · Vendor Advisory
- mariadb.com/kb/en/mariadb-10418-release-notes/ · Vendor Advisory
- mariadb.com/kb/en/mariadb-1059-release-notes/ · Vendor Advisory
- mariadb.com/kb/en/security/ · Vendor Advisory
- packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html · Exploit
- lists.debian.org/debian-lts-announce/2021/03/msg00028.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-27928
- cve.org/CVERecord?id=CVE-2021-27928
More vulnerabilities in Mariadb products
CVE-2025-56404CVE-2024-27766CVE-2023-40354CVE-2023-39593CVE-2023-26785CVE-2023-22084CVE-2023-5157CVE-2022-47015All 370
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.