CVE-2020-28912
With MariaDB running on Windows, when local clients connect to the server over named pipes, it's possible for an unprivileged user with an ability to run code on the server machine to intercept the named pipe connection and act as a man-in-the-middle, gaining access to all the data passed between the client and the server, and getting the ability to run SQL commands on behalf of the connected user. This occurs because of an incorrect security descriptor. This affects MariaDB Server before 10.1.48, 10.2.x before 10.2.35, 10.3.x before 10.3.26, 10.4.x before 10.4.16, and 10.5.x before 10.5.7. NOTE: this issue exists because certain details of the MariaDB CVE-2019-2503 fix did not comprehensively address attack variants against MariaDB. This situation is specific to MariaDB, and thus CVE-2020-28912 does NOT apply to other vendors that were originally affected by CVE-2019-2503.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | mariadb-10.3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | mariadb-10.1 | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 8 | Judy | Not affected | ||
| Red Hat Enterprise Linux 8 | galera | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-backup | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-common | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-embedded | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-embedded-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-errmsg | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-gssapi-server | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-oqgraph-engine | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-pam | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-server | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-server-galera | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-server-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | mariadb-test | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-ipadic | Not affected | ||
| Red Hat Enterprise Linux 8 | mecab-ipadic-EUCJP | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-common | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-errmsg | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-server | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-test | Not affected | ||
| Red Hat Enterprise Linux 8 | mysql-test-data | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-bench | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-embedded-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-server | Not affected | ||
| Red Hat Enterprise Linux 7 | mariadb-test | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-bench | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-embedded | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-embedded-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-server | Not affected | ||
| Red Hat Enterprise Linux 6 | mysql-test | Not affected | ||
| Red Hat Enterprise Linux 5 | mysql55-mysql | Not affected | ||
| Alpine Linux 3.10 | mariadb | Fixed | 10.3.27-r0 | ALPINE-CVE-2020-28912 |
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.