CVE-2021-27928
A public proof of concept exists; no exploitation attested.
- Published2021-03-19
- Fixed in10.5.9 · 10.4.18 · 10.3.28 · 10.2.37
- WeaknessCWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2021-03-1903:15CVE publishedNVD
- 2021-04-14Exploit-DB entryExploit-DB
Observed activity
isMalicious corpus · updated 2026-11-04 03:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-27928?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-27928?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.5 | ≥ 10.5, < 10.5.9 | 10.5.9 | NVD |
| 10.5 | ≥ 10.5.0, < 10.5.9 | 10.5.9 | OSV |
| 10.4 | ≥ 10.4, < 10.4.18 | 10.4.18 | NVD |
| 10.4 | ≥ 10.4.0, < 10.4.18 | 10.4.18 | OSV |
| 10.3 | ≥ 10.3, < 10.3.28 | 10.3.28 | NVD |
| 10.3 | ≥ 10.3.0, < 10.3.28 | 10.3.28 | OSV |
| 10.2 | ≥ 10.2, < 10.2.37 | 10.2.37 | NVD |
| 10.2 | ≥ 10.2.0, < 10.2.37 | 10.2.37 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2021.x | ≤ 2021-03-03 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- asioRocky Linux:8all versions · fixed in 0:1.10.8-7.module+el8.3.0+126+a7f7b5c5
- asioRocky Linux:8all versions · fixed in 0:1.10.8-7.module+el8.5.0+777+18007c86
- asioRed Hat:rhel_eus:8.2::crball versions · fixed in 0:1.10.8-7.module+el8+2765+cfa4f87band 1 other package
- asioRed Hat:rhel_eus:8.1::crball versions · fixed in 0:1.10.8-7.module+el8+2765+cfa4f87band 1 other package
- asioRed Hat:enterprise_linux:8::crball versions · fixed in 0:1.10.8-7.module+el8+2765+cfa4f87band 1 other package
- asio-develAlmaLinux:8all versions · fixed in 1.10.8-7.module_el8.6.0+2867+72759d2f
- asio-develAlmaLinux:8all versions · fixed in 1.10.8-7.module_el8.6.0+3072+3c630e87
- galeraRocky Linux:8all versions · fixed in 0:25.3.32-1.module+el8.4.0+427+adf35707
99 more package ranges on OSV.dev
Vendor advisories
mariadb: writable system variables allows a database user with SUPER privilege to execute arbitrary code as the system mysql user
Festo Didactic SE MES PC
Festo Didactic SE MES PC shipped with Windows 10
Red Hat Security Advisory: rh-mariadb103-mariadb and rh-mariadb103-galera security update
Red Hat Security Advisory: mariadb:10.3 and mariadb-devel:10.3 security update
Red Hat Security Advisory: mariadb:10.3 and mariadb-devel:10.3 security update
Red Hat Security Advisory: mariadb:10.3 and mariadb-devel:10.3 security update
1 more advisory
Fix
- Update MariaDB to 10.5.9 · 10.4.18 · 10.3.28 · 10.2.37
- Vendor fix CISA ICSA-26-027-02 · 1 productFesto Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
- Vendor fix Red Hat Product Security RHSA-2021:2040 · 228 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.
- Vendor fix Red Hat Product Security RHSA-2021:1039 · 32 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2021:2040 · 228 productsOnly users that have the SUPER privilege can exploit this flaw. To reduce your exposure, ensure user accounts with the SUPER privilege are protected with strong credentials, only allowed to connect locally and not shared with untrusted parties.
Advisories and patches
- jira.mariadb.orgVendor Advisory
- mariadb.comRelease Notes · Vendor Advisory
- mariadb.comRelease Notes · Vendor Advisory
- mariadb.comRelease Notes · Vendor Advisory
- mariadb.comRelease Notes · Vendor Advisory
- mariadb.comVendor Advisory
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof-of-concept repositories
- 3 repositories, unverifiedAl1ex/CVE-2021-27928shamo0/CVE-2021-27928-POCLalieA/CVE-2021-27928 PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.2read 2026-10-23
- NVDCVSS 2.09read 2026-10-23
- NVDweakness (CWE)CWE-94read 2026-10-23
- FIRST EPSSEPSS score38.4 %read 2026-11-03
- PoC-in-GitHubproof of concept3read 2026-11-03
- Exploit-DBdetectionread 2026-11-03
- OSVaffected packages—
Identifiers
- BIT-mariadb-2021-27928same flawBitnami · Apache-2.0
- BIT-mariadb-min-2021-27928same flawBitnami · Apache-2.0
- BIT-mysql-client-2021-27928same flawBitnami · Apache-2.0
- CGA-45jr-vhvq-fc42same flawChainguard · CC-BY-NC-ND-4.0
- CGA-52xh-m23f-mpm2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6g3g-m9jr-xvf2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6hp6-h6w4-7632same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6x8r-r5c8-h69hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7pjp-hhm6-788fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8mvq-hm2q-w2qwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c83j-x6c6-hr5gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cjgr-8hg4-j3vxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mh32-3gf8-wpq8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rhpj-vc25-fm7fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v6f2-fq32-9f56same flawChainguard · CC-BY-NC-ND-4.0
- CGA-wwcv-3pgf-phvpsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2021-14648same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- MINI-jqpw-hxh5-7q33same flawMinimOS · LicenseRef-unstated
- MINI-rwhc-r5fm-rcf5same flawMinimOS · LicenseRef-unstated
- ALSA-2021:1242advisory covering several CVEsAlmaLinux · MIT
- DLA-2605-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2021-1250advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:2605-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2616-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:2617-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11648-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:1039advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:1240advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:1241advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:1242advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2040advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:1242advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-RU-2023:3956-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-RU-2023:4991-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2605-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2616-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2617-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:2634-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Published
- 2021-03-19
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2021-27928?
Is CVE-2021-27928 actively exploited?
What is the CVSS score for CVE-2021-27928?
Running MariaDB? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0