Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-27928

mariadb: writable system variables allows a database user with SUPER privilege to execute arbitrary code as the system mysql user

Overview

Published
19 Mar 2021
Modified
17 Jun 2026
High CVE
3 Registry packages
52 OS packages
11 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.2 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-94

Affected packages · 3

Packages affected by CVE-2021-27928
EcosystemPackageVulnerableFixed 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.3710.3.2810.4.1810.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.3710.3.2810.4.1810.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.3710.3.2810.4.1810.5.9

Open a package to see all its vulnerabilities.

Operating systems · 46 fixes

Oracle Linux 1 release · 4 packages

fixed 4
judy asio-devel galera mariadb
Oracle Linux fixes for CVE-2021-27928
ReleasePackageFixed in
8 judy +1 1.0.5-18.0.1.module+el8.3.0+9616+7a81225f
8 asio-devel 1.10.8-7.module+el8.1.0+5402+691bd77e
8 galera 25.3.32-1.module+el8.3.0+20131+15c9d707
8 mariadb +12 3:10.3.28-1.module+el8.3.0+20131+15c9d707

Red Hat 3 releases · 6 packages

fixed 24
rh-mariadb103-galera mariadb rh-mariadb103-mariadb judy asio-devel galera
Red Hat fixes for CVE-2021-27928
ReleasePackageFixed inAdvisory
7 rh-mariadb103-galera 0:25.3.32-2.el7 RHSA-2021:2040
7 mariadb +8 3:10.1.20-3.el7ost RHSA-2021:1039
7 rh-mariadb103-mariadb +18 3:10.3.28-2.el7 RHSA-2021:2040
8 (mariadb-devel:10.3) judy +1 0:1.0.5-18.module+el8+2765+cfa4f87b RHSA-2021:1240
8 (mariadb-devel:10.3) judy +1 0:1.0.5-18.module+el8+2765+cfa4f87b RHSA-2021:1241
8 (mariadb-devel:10.3) judy +1 0:1.0.5-18.module+el8+2765+cfa4f87b RHSA-2021:1242

18 more rows

SUSE Linux Enterprise 1 release · 1 package

fixed 1
mariadb
SUSE Linux Enterprise fixes for CVE-2021-27928
ReleasePackageFixed inAdvisory
12.5 mariadb +3 10.2.39-3.36.1 SUSE-SU-2021:2634-1

alma 1 release · 3 packages

fixed 3
judy-devel judy asio-devel
alma fixes for CVE-2021-27928
ReleasePackageFixed in
8 (mariadb:10.5) judy-devel 1.0.5-18.module_el8.3.0+2028+5e3224e9
8 (mariadb:10.5) judy 1.0.5-18.module_el8.5.0+2632+14ced695
8 (mariadb:10.5) asio-devel 1.10.8-7.module_el8.6.0+2867+72759d2f

alpine 4 releases · 1 package

fixed 4
mariadb
alpine fixes for CVE-2021-27928
ReleasePackageFixed in
3.22 mariadb 10.5.9-r0
3.23 mariadb 10.5.9-r0
3.24 mariadb 10.5.9-r0
edge mariadb 10.5.9-r0

debian 3 releases · 3 packages

fixed 3
mariadb-10-3 mariadb-10-5 mariadb-10-1
debian fixes for CVE-2021-27928
ReleasePackageFixed in
10 mariadb-10-3 1:10.3.29-0+deb10u1
11 mariadb-10-5 1:10.5.9-1
9 mariadb-10-1 10.1.48-0+deb9u2

openSUSE 1 release · 1 package

fixed 1
libmariadbd-devel
openSUSE fixes for CVE-2021-27928
ReleasePackageFixed inAdvisory
Tumbleweed libmariadbd-devel +9 10.6.5-3.1 openSUSE-SU-2024:11648-1

rocky 1 release · 3 packages

fixed 3
judy galera mariadb
rocky fixes for CVE-2021-27928
ReleasePackageFixed in
8 (mariadb:10.3) judy 1.0.5-18.module+el8.4.0+427+adf35707
8 (mariadb:10.3) galera 25.3.32-1.module+el8.4.0+427+adf35707
8 (mariadb:10.3) mariadb +12 3:10.3.28-1.module+el8.4.0+427+adf35707

root.io debian 1 release · 1 package

fixed 1
rootio-mariadb-10-5
root.io debian fixes for CVE-2021-27928
ReleasePackageFixed in
11 rootio-mariadb-10-5 1:10.5.9-1

chainguard 1 release · 1 package

not affected 1
percona-server-26-7
chainguard fixes for CVE-2021-27928
ReleasePackageFixed in
percona-server-26-7 +8 not affected

wolfi 1 release · 1 package

not affected 1
percona-server-8-4
wolfi fixes for CVE-2021-27928
ReleasePackageFixed in
percona-server-8-4 +1 not affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.