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.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Mariadb | Mariadb | 10.2 (including) | 10.2.37 (excluding) |
Mariadb | Mariadb | 10.3 (including) | 10.3.28 (excluding) |
Mariadb | Mariadb | 10.4 (including) | 10.4.18 (excluding) |
Mariadb | Mariadb | 10.5 (including) | 10.5.9 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | mariadb:10.3-8030020210324132345.229f0a1c | * |
Red Hat Enterprise Linux 8 | RedHat | mariadb-devel:10.3-8030020210324132345.229f0a1c | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | mariadb:10.3-8010020210324132606.c27ad7f8 | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | mariadb-devel:10.3-8010020210324132606.c27ad7f8 | * |
Red Hat Enterprise Linux 8.2 Extended Update Support | RedHat | mariadb:10.3-8020020210324132420.4cda2c84 | * |
Red Hat Enterprise Linux 8.2 Extended Update Support | RedHat | mariadb-devel:10.3-8020020210324132420.4cda2c84 | * |
Red Hat OpenStack Platform 13.0 (Queens) | RedHat | mariadb-3:10.1.20-3.el7ost | * |
Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUS | RedHat | mariadb-3:10.1.20-3.el7ost | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-mariadb103-galera-0:25.3.32-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-mariadb103-mariadb-3:10.3.28-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-mariadb103-galera-0:25.3.32-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-mariadb103-mariadb-3:10.3.28-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-mariadb103-galera-0:25.3.32-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-mariadb103-mariadb-3:10.3.28-2.el7 | * |
Mariadb-10.1 | Ubuntu | bionic | * |
Mariadb-10.1 | Ubuntu | trusty | * |
Mariadb-10.3 | Ubuntu | esm-apps/focal | * |
Mariadb-10.3 | Ubuntu | focal | * |
Mariadb-10.3 | Ubuntu | groovy | * |
Mariadb-10.3 | Ubuntu | trusty | * |
Mariadb-10.3 | Ubuntu | upstream | * |
Mariadb-10.5 | Ubuntu | trusty | * |
Mariadb-10.5 | Ubuntu | upstream | * |
Percona-server-5.6 | Ubuntu | trusty | * |
Percona-server-5.6 | Ubuntu | xenial | * |
When a product allows a user’s input to contain code syntax, it might be possible for an attacker to craft the code in such a way that it will alter the intended control flow of the product. Such an alteration could lead to arbitrary code execution. Injection problems encompass a wide variety of issues – all mitigated in very different ways. For this reason, the most effective way to discuss these weaknesses is to note the distinct features which classify them as injection weaknesses. The most important issue to note is that all injection problems share one thing in common – i.e., they allow for the injection of control plane data into the user-controlled data plane. This means that the execution of the process may be altered by sending code in through legitimate data channels, using no other mechanism. While buffer overflows, and many other flaws, involve the use of some further issue to gain execution, injection problems need only for the data to be parsed. The most classic instantiations of this category of weakness are SQL injection and format string vulnerabilities.