CVE-2021-27928
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
mariadb mariadbfrom 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.9NVD
percona percona_serverup to 2021-03-03NVD
galeracluster wsrepup to 2021-03-03NVD
debian debian_linux9.0NVD
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.9Bitnami 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.9Bitnami 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.9Bitnami Vulnerability Database

All scores

NVD7.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD9.0high CVSS:2.0AV:N/AC:L/Au:S/C:C/I:C/A:C
Bitnami Vulnerability Databasehigh 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-25179advisory, 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.htmladvisory, mailing-list, third-party-advisory
http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.htmladvisory, exploit, third-party-advisory, vdb-entry
https://security.gentoo.org/glsa/202105-28advisory, third-party-advisory, vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2021-27928web

Sources

SourceRecordLicence
CVE ListCVE-2021-27928 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-27928 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MARIADB-2021-27928 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MARIADB-MIN-2021-27928 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-MYSQL-CLIENT-2021-27928 changed 2026-09-08Apache-2.0