CVE-2021-27928 in the critical feed json
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…
published 2021-03-19 5 y ago modified 2026-09-08 2 mo ago also BIT-mariadb-2021-27928 , BIT-mariadb-min-2021-27928 , BIT-mysql-client-2021-27928 , EUVD-2021-14648
- cvss
- 7.2
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 38.4%
- EPSS 38.4% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- bitnami mariadb 10.2.37, 10.3.28, 10.4.18, 10.5.9
- bitnami mariadb-min 10.2.37, 10.3.28, 10.4.18, 10.5.9
- bitnami mysql-client 10.2.37, 10.3.28, 10.4.18, 10.5.9
- mariadb mariadb 10.2.37, 10.3.28, 10.4.18, 10.5.9
- mariadb-10.5 Debian 11 1:10.5.9-1
debian advisories DEBIAN-CVE-2021-27928
- rh-mariadb103-galera RHEL 3 SOFTWARE_COLLECTIONS 25.3.32-2.el7
- rh-mariadb103-mariadb RHEL 3 SOFTWARE_COLLECTIONS 3:10.3.28-2.el7
- rh-mariadb103-mariadb-test RHEL 3 SOFTWARE_COLLECTIONS 3:10.3.28-2.el7
- rh-mariadb103-mariadb-backup RHEL 3 SOFTWARE_COLLECTIONS 3:10.3.28-2.el7
- rh-mariadb103-mariadb-common RHEL 3 SOFTWARE_COLLECTIONS 3:10.3.28-2.el7
- rh-mariadb103-mariadb-config RHEL 3 SOFTWARE_COLLECTIONS 3:10.3.28-2.el7
- rh-mariadb103-mariadb-errmsg RHEL 3 SOFTWARE_COLLECTIONS 3:10.3.28-2.el7
- rh-mariadb103-mariadb-server RHEL 3 SOFTWARE_COLLECTIONS 3:10.3.28-2.el7
red hat advisories RHSA-2021:2040RHSA-2021:1242RHSA-2021:1240RHSA-2021:1241RHSA-2021:1039
- mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
- lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
- python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
- mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
- mariadb SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +3 more 10.2.39-3.36.1
- mariadb SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +10 more 10.2.39-3.40.1
- mariadb SLE Module for Server Applications 15 SP2 10.4.20-3.9.1
- mariadb SLE Module for Server Applications 15 SP3 10.5.11-3.3.1
suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1SUSE-SU-2021:2634-1SUSE-SU-2021:2617-1SUSE-SU-2021:2616-1SUSE-SU-2021:2605-1
- mariadb openSUSE Tumbleweed 10.6.5-3.1
- mariadb openSUSE Leap 15.3 10.2.39-3.40.1
- mariadb openSUSE Leap 15.3 10.4.20-3.9.1
- mariadb openSUSE Leap 15.3 10.5.11-3.3.1
opensuse advisories openSUSE-SU-2024:11648-1openSUSE-SU-2021:2617-1openSUSE-SU-2021:2616-1openSUSE-SU-2021:2605-1
- Judy AlmaLinux 8 1.0.5-18.module_el8.6.0+2867+72759d2f
- Judy AlmaLinux 8 1.0.5-18.module_el8.3.0+2028+5e3224e9
- Judy AlmaLinux 8 1.0.5-18.module_el8.5.0+2632+14ced695
- Judy AlmaLinux 8 1.0.5-18.module_el8.6.0+2761+593e5e59
- galera AlmaLinux 8 25.3.32-1.module_el8.3.0+2177+7adc332a
- mariadb AlmaLinux 8 3:10.3.28-1.module_el8.3.0+2177+7adc332a
- mariadb-test AlmaLinux 8 3:10.3.28-1.module_el8.3.0+2177+7adc332a
- mariadb-backup AlmaLinux 8 3:10.3.28-1.module_el8.3.0+2177+7adc332a
almalinux advisories ALSA-2021:1242
- asio Rocky Linux 8 1.10.8-7.module+el8.5.0+777+18007c86
- asio Rocky Linux 8 1.10.8-7.module+el8.3.0+126+a7f7b5c5
- Judy Rocky Linux 8 1.0.5-18.module+el8.4.0+427+adf35707
- galera Rocky Linux 8 25.3.32-1.module+el8.4.0+427+adf35707
- mariadb Rocky Linux 8 3:10.3.28-1.module+el8.4.0+427+adf35707
rocky linux advisories RLSA-2021:1242
- mariadb Alpine 3.10 10.3.28-r0
- mariadb Alpine 3.12, Alpine 3.11 10.4.18-r0
- mariadb Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 10.5.9-r0
alpine advisories ALPINE-CVE-2021-27928
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-27928 updated cvss 7.2
mariadb: writable system variables allows a database user with SUPER privilege to execute arbitrary code as the system mysql user
-
Red Hat CodeReady Linux Builder (v. 8) asio 1.10.8-7.module+el8+2765+cfa4f87b, Judy 1.0.5-18.module+el8+2765+cfa4f87b, galera 25.3.32-1.module+el8.3.0+10472+7adc332a, mariadb 10.3.28-1.module+el8.3.0+10472+7adc332a, mariadb-test 10.3.28-1.module+el8.3.0+10472+7adc332a, mariadb-backup 10.3.28-1.module+el8.3.0+10472+7adc332a, +8 morefixed: vendor fix RHSA-2021:1242
-
Red Hat CodeReady Linux Builder EUS (v. 8.1) asio 1.10.8-7.module+el8+2765+cfa4f87b, Judy 1.0.5-18.module+el8+2765+cfa4f87b, galera 25.3.32-1.module+el8.1.0+10475+47ea4373, mariadb 10.3.28-1.module+el8.1.0+10475+47ea4373, mariadb-test 10.3.28-1.module+el8.1.0+10475+47ea4373, mariadb-backup 10.3.28-1.module+el8.1.0+10475+47ea4373, +8 morefixed: vendor fix RHSA-2021:1241
-
Red Hat CodeReady Linux Builder EUS (v. 8.2) asio 1.10.8-7.module+el8+2765+cfa4f87b, Judy 1.0.5-18.module+el8+2765+cfa4f87b, galera 25.3.32-1.module+el8.2.0+10474+c7510d9c, mariadb 10.3.28-1.module+el8.2.0+10474+c7510d9c, mariadb-test 10.3.28-1.module+el8.2.0+10474+c7510d9c, mariadb-backup 10.3.28-1.module+el8.2.0+10474+c7510d9c, +8 morefixed: vendor fix RHSA-2021:1240
-
Red Hat Enterprise Linux AppStream (v. 8) Judy 1.0.5-18.module+el8+2765+cfa4f87b, galera 25.3.32-1.module+el8.3.0+10472+7adc332a, mariadb 10.3.28-1.module+el8.3.0+10472+7adc332a, mariadb-test 10.3.28-1.module+el8.3.0+10472+7adc332a, mariadb-backup 10.3.28-1.module+el8.3.0+10472+7adc332a, mariadb-common 10.3.28-1.module+el8.3.0+10472+7adc332a, +7 morefixed: vendor fix RHSA-2021:1242
-
Red Hat Enterprise Linux AppStream EUS (v. 8.1) Judy 1.0.5-18.module+el8+2765+cfa4f87b, galera 25.3.32-1.module+el8.1.0+10475+47ea4373, mariadb 10.3.28-1.module+el8.1.0+10475+47ea4373, mariadb-test 10.3.28-1.module+el8.1.0+10475+47ea4373, mariadb-backup 10.3.28-1.module+el8.1.0+10475+47ea4373, mariadb-common 10.3.28-1.module+el8.1.0+10475+47ea4373, +7 morefixed: vendor fix RHSA-2021:1241
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) Judy 1.0.5-18.module+el8+2765+cfa4f87b, galera 25.3.32-1.module+el8.2.0+10474+c7510d9c, mariadb 10.3.28-1.module+el8.2.0+10474+c7510d9c, mariadb-test 10.3.28-1.module+el8.2.0+10474+c7510d9c, mariadb-backup 10.3.28-1.module+el8.2.0+10474+c7510d9c, mariadb-common 10.3.28-1.module+el8.2.0+10474+c7510d9c, +7 morefixed: vendor fix RHSA-2021:1240
-
Red Hat OpenStack Platform 13.0 mariadb 10.1.20-3.el7ost, mariadb-libs 10.1.20-3.el7ost, mariadb-test 10.1.20-3.el7ost, mariadb-common 10.1.20-3.el7ost, mariadb-config 10.1.20-3.el7ost, mariadb-errmsg 10.1.20-3.el7ost, +3 more Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server mariadb 10.1.20-3.el7ost, mariadb-libs 10.1.20-3.el7ost, mariadb-test 10.1.20-3.el7ost, mariadb-common 10.1.20-3.el7ost, mariadb-config 10.1.20-3.el7ost, mariadb-errmsg 10.1.20-3.el7ost, +3 morefixed: vendor fix RHSA-2021:1039
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-mariadb103-galera 25.3.32-2.el7, rh-mariadb103-mariadb 10.3.28-2.el7, rh-mariadb103-mariadb-test 10.3.28-2.el7, rh-mariadb103-mariadb-backup 10.3.28-2.el7, rh-mariadb103-mariadb-common 10.3.28-2.el7, rh-mariadb103-mariadb-config 10.3.28-2.el7, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-mariadb103-galera 25.3.32-2.el7, rh-mariadb103-mariadb 10.3.28-2.el7, rh-mariadb103-mariadb-test 10.3.28-2.el7, rh-mariadb103-mariadb-backup 10.3.28-2.el7, rh-mariadb103-mariadb-common 10.3.28-2.el7, rh-mariadb103-mariadb-config 10.3.28-2.el7, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-mariadb103-galera 25.3.32-2.el7, rh-mariadb103-mariadb 10.3.28-2.el7, rh-mariadb103-mariadb-test 10.3.28-2.el7, rh-mariadb103-mariadb-backup 10.3.28-2.el7, rh-mariadb103-mariadb-common 10.3.28-2.el7, rh-mariadb103-mariadb-config 10.3.28-2.el7, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-mariadb103-galera 25.3.32-2.el7, rh-mariadb103-mariadb 10.3.28-2.el7, rh-mariadb103-mariadb-test 10.3.28-2.el7, rh-mariadb103-mariadb-backup 10.3.28-2.el7, rh-mariadb103-mariadb-common 10.3.28-2.el7, rh-mariadb103-mariadb-config 10.3.28-2.el7, +13 morefixed: vendor fix RHSA-2021:2040
show 1 moreshow fewer
-
Red Hat Enterprise Linux 6 mysql, mysql-libs, mysql-test, mysql-bench, mysql-server, mysql-embedded Red Hat Enterprise Linux 7 mariadb, mariadb-libs, mariadb-test, mariadb-bench, mariadb-server, mariadb-embedded Red Hat Enterprise Linux 8 Judy, mecab, mysql, galera, mariadb, mysql-libs, +18 more Red Hat Enterprise Linux 9 mysql, mariadb, mysql-libs, mysql-test, mariadb-pam, mariadb-test, +12 more Red Hat Software Collections rh-mariadb105-mariadb, rh-mariadb105-mariadb-pam, rh-mariadb105-mariadb-libs, rh-mariadb105-mariadb-test, rh-mariadb105-mariadb-backup, rh-mariadb105-mariadb-common, +14 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-027-02 updated cvss 7.2
Festo Didactic SE MES PC
-
Festo Didactic SE MES PC shipped_with_Windows_10affected: vendor fix
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Timeline
- Published
- First public exploit (EDB-49765)
Exploit prediction
38.44% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-49765 MariaDB 10.2 - 'wsrep_provider' OS Command Execution local, 2021-04-14
- packetstormsecurity.com http://packetstormsecurity.com/files/162177/MariaDB-10.2-Command-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| OSV | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mariadb | >=10.2.0, <10.2.37 >=10.3.0, <10.3.28 >=10.4.0, <10.4.18 >=10.5.0, <10.5.9 |
10.2.37 10.3.28 10.4.18 10.5.9 |
| bitnami | mariadb-min | >=10.2.0, <10.2.37 >=10.3.0, <10.3.28 >=10.4.0, <10.4.18 >=10.5.0, <10.5.9 |
10.2.37 10.3.28 10.4.18 10.5.9 |
| bitnami | mysql-client | >=10.2.0, <10.2.37 >=10.3.0, <10.3.28 >=10.4.0, <10.4.18 >=10.5.0, <10.5.9 |
10.2.37 10.3.28 10.4.18 10.5.9 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
- Technology feeds
References
-
packetstormsecurity.com
/files/162177/MariaDB-10.2-Command-Execution.html
exploit, third-party-advisory, vdb-entry, advisory
-
security.gentoo.org
/glsa/202105-28
vendor-advisory, third-party-advisory, advisory
-
mariadb.com
/kb/en/security/
vendor-advisory, advisory
-
jira.mariadb.org
/browse/MDEV-25179
issue-tracking, vendor-advisory, advisory
-
mariadb.com
/kb/en/mariadb-10237-release-notes/
release-notes, vendor-advisory, advisory
-
mariadb.com
/kb/en/mariadb-10328-release-notes/
release-notes, vendor-advisory, advisory
-
mariadb.com
/kb/en/mariadb-10418-release-notes/
release-notes, vendor-advisory, advisory
-
mariadb.com
/kb/en/mariadb-1059-release-notes/
release-notes, vendor-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2021/03/msg00028.html
mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-27928
web
Sources
- CVE List CVE-2021-27928
- NVD CVE-2021-27928
- OSV BIT-mariadb-2021-27928
- OSV BIT-mariadb-min-2021-27928
- OSV BIT-mysql-client-2021-27928
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.