cve.bz

CVE-2020-15180 Improper Input Validation

9.0 criticalEPSS 5.3%Fix available

Critical (9.0). EPSS 5.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the mysql-wsrep component of mariadb. Lack of input sanitization in `wsrep_sst_method` allows for command injection that can be exploited by a remote attacker to execute arbitrary commands on galera cluster nodes. This threatens the system's confidentiality, integrity, and availability. This flaw affects mariadb versions before 10.1.47, before 10.2.34, before 10.3.25, before 10.4.15 and before 10.5.6.

Severity

CVSS 3.1

9.0 critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
5.3% (unchanged from 5.3% a week ago; 5.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-77 Improper Neutralization of Special Elements used in a Command
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15180 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15180?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15180?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15180 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mariadb:mariadbfrom 10.1.0 before 10.1.47
mariadb:mariadbfrom 10.2.0 before 10.2.34
mariadb:mariadbfrom 10.3.0 before 10.3.25
mariadb:mariadbfrom 10.4.0 before 10.4.15
mariadb:mariadbfrom 10.5.0 before 10.5.6
debian:debian_linux9.0
debian:debian_linux10.0
percona:xtradb_clusterbefore 5.6.49-28.42.2
percona:xtradb_clusterfrom 5.7 before 5.7.31-31.45.2
percona:xtradb_clusterfrom 8.0 before 8.0.20-11.2
galeracluster:galera_cluster_for_mysqlfrom 5.6 before 5.6.49
galeracluster:galera_cluster_for_mysqlfrom 5.7 before 5.7.31
galeracluster:galera_cluster_for_mysqlfrom 8.0 before 8.0.21

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9mariadb-10.110.1.47-0+deb9u1DLA-2409-1
Debian10mariadb-10.31:10.3.25-0+deb10u1DSA-4776-1
Debian11mariadb-10.51:10.5.6-1DEBIAN-CVE-2020-15180
Ubuntu18.04:LTSmariadb-10.11:10.1.47-0ubuntu0.18.04.1UBUNTU-CVE-2020-15180 USN-4603-1
Ubuntu20.04:LTSmariadb-10.31:10.3.25-0ubuntu0.20.04.1UBUNTU-CVE-2020-15180 USN-4603-1
Red Hatenterprise_linux:8::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2020:5500
Red Hatenterprise_linux:8::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.31-1.module+el8.3.0+8843+3f4e42f6RHSA-2020:5500
Red Hatenterprise_linux:8::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hatopenstack:10::el7mariadb-galera, mariadb-galera-common, mariadb-galera-server and 1 more1:5.5.62-2.el7ostRHSA-2020:5379
Red Hatrhel_e4s:8.0::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2020:5663
Red Hatrhel_e4s:8.0::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.31-1.module+el8.0.0+9239+73817dd5RHSA-2020:5663
Red Hatrhel_e4s:8.0::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.27-3.module+el8.0.0+9160+9822c5c7RHSA-2020:5663
Red Hatrhel_eus:8.1::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2020:5665
Red Hatrhel_eus:8.1::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.31-1.module+el8.1.0+8860+1543d51bRHSA-2020:5665
Red Hatrhel_eus:8.1::appstreammariadb, mariadb-test, mariadb-devel and 19 more3:10.3.27-3.module+el8.1.0+9159+f0191ef0RHSA-2020:5665
Red Hatrhel_eus:8.2::appstreamJudy, Judy-debuginfo, Judy-debugsource0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2020:5654
Red Hatrhel_eus:8.2::appstreamgalera, galera-debuginfo, galera-debugsource0:25.3.31-1.module+el8.2.0+8857+d5b3039bRHSA-2020:5654
3 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1mariadb10410.4.30-150100.3.5.10SUSE-RU-2023:3956-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1python-mysqlclient1.4.6-150100.3.3.7SUSE-RU-2023:3956-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 5 moremariadb-connector-c3.1.11-3.22.2SUSE-SU-2020:3500-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Server Applications 15 SP1 and 2 moremariadb10.2.36-3.34.4SUSE-SU-2020:3500-1
SUSELinux Enterprise Module for Server Applications 15 SP2mariadb10.4.17-3.6.1SUSE-SU-2020:3564-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moremariadb10.2.36-3.33.1SUSE-SU-2020:3497-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moremariadb-connector-c3.1.11-2.19.1SUSE-SU-2020:3497-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5lz41.8.0-3.5.2SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb-connector-c3.1.22-2.35.1SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5mariadb10410.4.30-8.5.46SUSE-RU-2023:4991-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5python-mysqlclient1.3.14-8.9.2SUSE-RU-2023:4991-1
SUSEOpenStack Cloud 7mariadb10.2.36-19.1SUSE-SU-2020:3625-1
openSUSELeap 15.1mariadb10.2.36-lp151.2.18.1openSUSE-SU-2020:2149-1
openSUSELeap 15.1mariadb-connector-c3.1.11-lp151.3.15.1openSUSE-SU-2020:2149-1
openSUSELeap 15.2mariadb10.4.17-lp152.2.8.1openSUSE-SU-2020:2254-1
openSUSELeap 15.2mariadb-connector-c3.1.11-lp152.4.1openSUSE-SU-2020:2090-1
openSUSETumbleweedmariadb10.6.4-2.1openSUSE-SU-2024:11038-1
AlmaLinux8Judy1.0.5-18.module_el8.5.0+2632+14ced695ALSA-2020:5500
AlmaLinux8Judy1.0.5-18.module_el8.6.0+2761+593e5e59ALSA-2020:5500
AlmaLinux8Judy1.0.5-18.module_el8.6.0+2867+72759d2fALSA-2020:5500
Rocky Linux8Judy0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2020:5500
Alpinev3.9, v3.10mariadb10.3.25-r0ALPINE-CVE-2020-15180
Alpinev3.11, v3.12mariadb10.4.15-r0ALPINE-CVE-2020-15180
Alpinev3.13, v3.14, v3.15 and 9 moremariadb10.5.6-r0ALPINE-CVE-2020-15180

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

galera packages as shipped with Red Hat Enterprise Linux and Red Hat Software Collections are not affected because they do not contain the vulnerable mysql-wsrep component.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8mariadb:10.3-8030020201203011231.229f0a1cFixed 2020-12-15RHSA-2020:5500
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionsmariadb:10.3-8000020201221114409.f8e95b4eFixed 2020-12-22RHSA-2020:5663
Red Hat Enterprise Linux 8.1 Extended Update Supportmariadb:10.3-8010020201214133427.c27ad7f8Fixed 2020-12-22RHSA-2020:5665
Red Hat Enterprise Linux 8.2 Extended Update Supportmariadb:10.3-8020020201214133105.4cda2c84Fixed 2020-12-22RHSA-2020:5654
Red Hat OpenStack Platform 10.0 (Newton)mariadb-galera-1:5.5.62-2.el7ostFixed 2020-12-08RHSA-2020:5379
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb103-galera-0:25.3.31-1.el7Fixed 2020-11-30RHSA-2020:5246
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-mariadb103-mariadb-3:10.3.27-1.el7Fixed 2020-11-30RHSA-2020:5246
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-mariadb103-galera-0:25.3.31-1.el7Fixed 2020-11-30RHSA-2020:5246
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-mariadb103-mariadb-3:10.3.27-1.el7Fixed 2020-11-30RHSA-2020:5246
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-mariadb103-galera-0:25.3.31-1.el7Fixed 2020-11-30RHSA-2020:5246
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-mariadb103-mariadb-3:10.3.27-1.el7Fixed 2020-11-30RHSA-2020:5246
Red Hat Enterprise Linux 7mariadbNot affected
Red Hat OpenStack Platform 10 (Newton)galeraNot affected
Red Hat OpenStack Platform 13 (Queens)galeraNot affected
Red Hat Software Collectionsrh-mariadb102-galeraNot affected
Red Hat Software Collectionsrh-mariadb102-mariadbWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15180.

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-40 Manipulating Writeable Terminal Devices Likelihood: High · Severity: Very High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High
  • CAPEC-183 IMAP/SMTP Command Injection Severity: Medium
  • CAPEC-248 Command Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON