CVE-2020-15180: Command Injection

Published Nov 5, 2020
·
Updated

A flaw was found in the mysql-wsrep component of mariadb. Lack of input sanitization in wsrepsstmethod 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.

Other sources

A malicious party with access to the WSREP service port (4567/TCP) as well as prerequisite knowledge of the configuration of the Galera cluster name is required in order to exploit this vulnerability, which leads to remote code execution via the WSREP protocol.

— Red Hat

Affected Software

41 affected componentsFixes available
redhat/mariadb<10.1.47
10.1.47
redhat/mariadb<10.2.34
10.2.34
redhat/mariadb<10.3.25
10.3.25
redhat/mariadb<10.4.15
10.4.15
redhat/mariadb<10.5.6
10.5.6
MariaDB MariaDB>=10.1.0<10.1.47
MariaDB MariaDB>=10.2.0<10.2.34
MariaDB MariaDB>=10.3.0<10.3.25
MariaDB MariaDB>=10.4.0<10.4.15
MariaDB MariaDB>=10.5.0<10.5.6
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Percona XtraDB Cluster<5.6.49-28.42.2
Percona XtraDB Cluster>=5.7<5.7.31-31.45.2
Percona XtraDB Cluster>=8.0<8.0.20-11.2
Galeracluster Galera Cluster For Mysql>=5.6<5.6.49
Galeracluster Galera Cluster For Mysql>=5.7<5.7.31
Galeracluster Galera Cluster For Mysql>=8.0<8.0.21
ubuntu/mariadb-10.1<1:10.1.47-0ubuntu0.18.04.1
1:10.1.47-0ubuntu0.18.04.1
ubuntu/mariadb-10.3<1:10.3.25-0ubuntu0.20.04.1
1:10.3.25-0ubuntu0.20.04.1
alpine/mariadb>=10.3.0<10.3.25-r0
10.3.25-r0
alpine/mariadb>=10.4.0<10.4.15-r0
10.4.15-r0
alpine/mariadb>=10.4.0<10.4.15-r0
10.4.15-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.5.0<10.5.6-r0
10.5.6-r0
alpine/mariadb>=10.3.0<10.3.25-r0
10.3.25-r0
debian/mariadb-10.5<1:10.5.6-1
1:10.5.6-1
debian/mariadb-10.1
10.1.47-0+deb9u1
debian/mariadb-10.3
1:10.3.27-1~exp11:10.3.25-0+deb10u1
debian/mariadb-10.5
1:10.5.6-1
debian/percona-xtradb-cluster-5.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.1.47
  2. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.2.34
  3. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.3.25
  4. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.4.15
  5. Upgrade

    Upgrade redhat/mariadb to a version that resolves this vulnerability.

    Fixed in 10.5.6
  6. Upgrade

    Upgrade ubuntu/mariadb-10.1 to a version that resolves this vulnerability.

    Fixed in 1:10.1.47-0ubuntu0.18.04.1
  7. Upgrade

    Upgrade ubuntu/mariadb-10.3 to a version that resolves this vulnerability.

    Fixed in 1:10.3.25-0ubuntu0.20.04.1
  8. Upgrade

    Upgrade alpine/mariadb to a version that resolves this vulnerability.

    Fixed in 10.3.25-r0
  9. Upgrade

    Upgrade alpine/mariadb to a version that resolves this vulnerability.

    Fixed in 10.4.15-r0
  10. Upgrade

    Upgrade alpine/mariadb to a version that resolves this vulnerability.

    Fixed in 10.5.6-r0
  11. Upgrade

    Upgrade debian/mariadb-10.5 to a version that resolves this vulnerability.

    Fixed in 1:10.5.6-1
  12. Upgrade

    Upgrade debian/mariadb-10.1 to a version that resolves this vulnerability.

    Fixed in 10.1.47-0+deb9u1
  13. Upgrade

    Upgrade debian/mariadb-10.3 to a version that resolves this vulnerability.

    Fixed in 1:10.3.27-1~exp1Fixed in 1:10.3.25-0+deb10u1
  14. Upgrade

    Upgrade mariadb/mysql-wsrep to a version that resolves this vulnerability.

    Fixed in 10.1.47
  15. Upgrade

    Upgrade mariadb/mysql-wsrep to a version that resolves this vulnerability.

    Fixed in 10.2.34
  16. Upgrade

    Upgrade mariadb/mysql-wsrep to a version that resolves this vulnerability.

    Fixed in 10.3.25
  17. Upgrade

    Upgrade mariadb/mysql-wsrep to a version that resolves this vulnerability.

    Fixed in 10.4.15
  18. Upgrade

    Upgrade mariadb/mysql-wsrep to a version that resolves this vulnerability.

    Fixed in 10.5.6

Event History

Nov 5, 2020
Data Sourced
12:38 PM
DescriptionSeverityAffected Software
May 27, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·07:45 PM
Data Sourced
via MITRE·07:45 PM
DescriptionWeakness
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Sep 22, 2021
Data Sourced
via Red Hat·07:28 PM
DescriptionSeverityAffected Software
Aug 5, 2022
Data Sourced
03:37 PM
Weakness
Nov 7, 2023
Data Sourced
via NVD·03:17 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:17 AM
WeaknessAffected Software
Updated
via NVD·03:17 AM
Affected Software
Jun 17, 2026
Updated
via NVD·02:56 AM
RemedyAffected Software
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2020-15180?

CVE-2020-15180 is a vulnerability found in the mysql-wsrep component of MariaDB that allows for command injection.

2

What is the impact of CVE-2020-15180?

CVE-2020-15180 threatens the system's confidentiality, integrity, and availability.

3

Which software versions are affected by CVE-2020-15180?

MariaDB versions 10.3.34 to 10.3.39, 10.5.21, and 10.1.47 to 10.1.47 are affected.

4

How can I fix CVE-2020-15180?

Update MariaDB to version 10.3.40, 10.5.22, or higher.

5

Where can I find more information about CVE-2020-15180?

You can find more information about CVE-2020-15180 at the following references: [Reference 1](https://www.percona.com/blog/2020/10/30/cve-2020-15180-affects-percona-xtradb-cluster/), [Reference 2](https://www.debian.org/security/2020/dsa-4776), [Reference 3](https://security.gentoo.org/glsa/202011-14)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203