CVE-2021-27928

Source
https://cve.org/CVERecord?id=CVE-2021-27928
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27928.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-27928
Aliases
Downstream
ALPINE (1)
ALSA (1)
BELL (1)
CGA (16)
CLEANSTART (1)
DEBIAN (1)
MINI (2)
OESA (1)
openSUSE (4)
RHSA (5)
RLSA (1)
SUSE (6)
UBUNTU (1)
Related
Published
2021-03-19T03:15:12Z
Modified
2026-10-24T14:51:06Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:galeracluster:wsrep:*:*:*:*:*:mysql:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "last_affected": "2021-03-03"
                        }
                    ],
                    "source": "CPE_RANGE"
                }
            ],
            "vendor_product": "galeracluster:wsrep"
        },
        {
            "cpes": [
                "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "10.2"
                        },
                        {
                            "fixed": "10.2.37"
                        },
                        {
                            "introduced": "10.3"
                        },
                        {
                            "fixed": "10.3.28"
                        },
                        {
                            "introduced": "10.4"
                        },
                        {
                            "fixed": "10.4.18"
                        },
                        {
                            "introduced": "10.5"
                        },
                        {
                            "fixed": "10.5.9"
                        }
                    ],
                    "source": "CPE_RANGE"
                }
            ],
            "vendor_product": "mariadb:mariadb"
        },
        {
            "cpes": [
                "cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "last_affected": "2021-03-03"
                        },
                        {
                            "last_affected": "2021-03-03"
                        }
                    ],
                    "source": "CPE_RANGE"
                }
            ],
            "vendor_product": "percona:percona_server"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "9.0"
                        },
                        {
                            "last_affected": "9.0"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/mariadb/server

Affected ranges

Type
GIT
Repo
https://github.com/mariadb/server
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.2"
                },
                {
                    "fixed": "10.2.37"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.3"
                },
                {
                    "fixed": "10.3.28"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.4"
                },
                {
                    "fixed": "10.4.18"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.5"
                },
                {
                    "fixed": "10.5.9"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

mariadb-10.*
mariadb-10.2.0
mariadb-10.2.1
mariadb-10.2.10
mariadb-10.2.11
mariadb-10.2.12
mariadb-10.2.13
mariadb-10.2.14
mariadb-10.2.15
mariadb-10.2.16
mariadb-10.2.18
mariadb-10.2.19
mariadb-10.2.2
mariadb-10.2.20
mariadb-10.2.21
mariadb-10.2.22
mariadb-10.2.23
mariadb-10.2.24
mariadb-10.2.25
mariadb-10.2.26
mariadb-10.2.27
mariadb-10.2.28
mariadb-10.2.29
mariadb-10.2.30
mariadb-10.2.31
mariadb-10.2.5
mariadb-10.3.0
mariadb-10.3.1
mariadb-10.3.10
mariadb-10.3.12
mariadb-10.3.16
mariadb-10.3.17
mariadb-10.3.18
mariadb-10.3.19
mariadb-10.3.2
mariadb-10.3.20
mariadb-10.3.21
mariadb-10.3.26
mariadb-10.3.4
mariadb-10.3.5
mariadb-10.3.6
mariadb-10.3.7
mariadb-10.4.10
mariadb-10.4.11
mariadb-10.4.3
mariadb-10.4.4
mariadb-10.4.5
mariadb-10.4.7
mariadb-10.4.9
mariadb-10.5.0
mariadb-10.5.2
mariadb-10.5.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27928.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "11425847502652849095417483971976726008",
                "261028279744089143798832603799308744238",
                "43178024023802145260950392730019310797",
                "27426614060501693274586081300902699324",
                "229288027330135542901329756108569736754",
                "217226131754073329819203145638391009690",
                "139208019122387927948352969887811226188",
                "12732217612013947819634176605299937141"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2021-27928-12557ed7",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mariadb/server/commit/ce3a2a688db556d8d077a409fd9bf5cc013d13dd",
        "target": {
            "file": "sql/sys_vars.cc"
        }
    }
]
vanir_signatures_modified
"2026-10-24T14:51:06Z"