CVEfocus › CVE database › CVE-2020-13249

CVE-2020-13249

EPSS 2.3% (higher than 84% of CVEs)Published 2020-05-20Updated 2024-08-04Assigner: mitre

libmariadb/mariadb_lib.c in MariaDB Connector/C before 3.1.8 does not properly validate the content of an OK packet received from a server. NOTE: although mariadb_lib.c was originally based on code shipped for MySQL, this issue does not affect any MySQL components supported by Oracle.

What to do

Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

29Fixed
1Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04mariadb-10.3Fixed1:10.3.25-0ubuntu0.20.04.1UBUNTU-CVE-2020-13249
Ubuntu 18.04mariadb-10.1Fixed1:10.1.47-0ubuntu0.18.04.1UBUNTU-CVE-2020-13249
Ubuntu 16.04mariadb-10.0Fix pending
Red Hat Enterprise Linux 8JudyFixed0:1.0.5-18.module+el8+2765+cfa4f87bRHSA-2020:5500
Red Hat Enterprise Linux 8galeraFixed0:25.3.31-1.module+el8.3.0+8843+3f4e42f6RHSA-2020:5500
Red Hat Enterprise Linux 8mariadbFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-backupFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-commonFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-connector-cFixed0:3.1.11-2.el8_3RHSA-2020:5503
Red Hat Enterprise Linux 8mariadb-connector-c-configFixed0:3.1.11-2.el8_3RHSA-2020:5503
Red Hat Enterprise Linux 8mariadb-connector-c-develFixed0:3.1.11-2.el8_3RHSA-2020:5503
Red Hat Enterprise Linux 8mariadb-develFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-embeddedFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-embedded-develFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-errmsgFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-gssapi-serverFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-oqgraph-engineFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-serverFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-server-galeraFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-server-utilsFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
Red Hat Enterprise Linux 8mariadb-testFixed3:10.3.27-3.module+el8.3.0+8972+5e3224e9RHSA-2020:5500
AlmaLinux 8JudyFixed1.0.5-18.module_el8.6.0+2761+593e5e59ALSA-2020:5500
AlmaLinux 8mariadb-connector-cFixed3.1.11-2.el8_3ALSA-2020:5503
AlmaLinux 8mariadb-connector-c-configFixed3.1.11-2.el8_3ALSA-2020:5503
AlmaLinux 8mariadb-connector-c-develFixed3.1.11-2.el8_3ALSA-2020:5503
Rocky Linux 8JudyFixed0:1.0.5-18.module+el8.4.0+427+adf35707RLSA-2020:5500
Rocky Linux 8mariadb-connector-cFixed0:3.1.11-2.el8_3RLSA-2020:5503
Alpine Linux 3.11mariadb-connector-cFixed3.1.6-r1ALPINE-CVE-2020-13249
Alpine Linux 3.10mariadb-connector-cFixed3.0.10-r1ALPINE-CVE-2020-13249
Alpine Linux 3.9mariadb-connector-cFixed3.0.8-r1ALPINE-CVE-2020-13249

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.