7.2high
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…
- Severity
- 7.2high CVSS:3.1 by NVD
- Exploit likelihood
- 38.4% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-MARIADB-2021-27928BIT-MARIADB-MIN-2021-27928BIT-MYSQL-CLIENT-2021-27928
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mariadb mariadb | from 10.2 before 10.2.37, from 10.3 before 10.3.28, from 10.4 before 10.4.18, from 10.5 before 10.5.9 | NVD |
| percona percona_server | up to 2021-03-03 | NVD |
| galeracluster wsrep | up to 2021-03-03 | NVD |
| debian debian_linux | 9.0 | NVD |
| mariadb (Bitnami) | from 10.2.0 before 10.2.37, from 10.3.0 before 10.3.28, from 10.4.0 before 10.4.18, from 10.5.0 before 10.5.9 | Bitnami Vulnerability Database |
| mariadb-min (Bitnami) | from 10.2.0 before 10.2.37, from 10.3.0 before 10.3.28, from 10.4.0 before 10.4.18, from 10.5.0 before 10.5.9 | Bitnami Vulnerability Database |
| mysql-client (Bitnami) | from 10.2.0 before 10.2.37, from 10.3.0 before 10.3.28, from 10.4.0 before 10.4.18, from 10.5.0 before 10.5.9 | Bitnami Vulnerability Database |
All scores
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.0high CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Se detectó un problema de ejecución de código remota en MariaDB versiones 10.2 anteriores a 10.2.37, versiones 10.3 anteriores a 10.3.28, versiones 10.4 anteriores a 10.4.18 y versiones 10.5 anteriores a 10.5.9; Percona Server versiones hasta el 03-03-2021; y el parche de wsrep versiones hasta el 03-03-2021 para MySQL. Una ruta de búsqueda que no es confiable conlleva a una inyección eval, en la que un usuario SUPER de la base de datos puede ejecutar comandos del Sistema Operativo después de modificar las funciones wsrep_provider y wsrep_notify_cmd. NOTA: esto no afecta a un producto de Oracle
References
| https://mariadb.com/kb/en/security/ | advisory, vendor-advisory | |
| https://jira.mariadb.org/browse/MDEV-25179 | advisory, issue-tracking, vendor-advisory | |
| https://mariadb.com/kb/en/mariadb-10237-release-notes/ | advisory, release-notes, vendor-advisory | |
| https://mariadb.com/kb/en/mariadb-10328-release-notes/ | advisory, release-notes, vendor-advisory | |
| https://mariadb.com/kb/en/mariadb-10418-release-notes/ | advisory, release-notes, vendor-advisory | |
| https://mariadb.com/kb/en/mariadb-1059-release-notes/ | advisory, release-notes, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00028.html | advisory, mailing-list, third-party-advisory | |
| http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html | advisory, exploit, third-party-advisory, vdb-entry | |
| https://security.gentoo.org/glsa/202105-28 | advisory, third-party-advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-27928 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27928 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-27928 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MARIADB-2021-27928 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MARIADB-MIN-2021-27928 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-MYSQL-CLIENT-2021-27928 changed 2026-09-08 | Apache-2.0 |