Skip to content
OpenAdvisories
Unscored CVE-2020-13249 EUVD-2020-5514GHSA-44c7-hc99-224f

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.…

Published May 20, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS mariadb-10.3 1:10.3.25-0ubuntu0.20.04.1 USN-4603-1
Ubuntu 18.04 LTS mariadb-10.1 1:10.1.47-0ubuntu0.18.04.1 USN-4603-1
ReleasePackageFixed inAdvisory
RHEL 8 Judy 1.0.5-18.module+el8+2765+cfa4f87b RHSA-2020:5500
RHEL 8 galera 25.3.31-1.module+el8.3.0+8843+3f4e42f6 RHSA-2020:5500
RHEL 8 mariadb +12 3:10.3.27-3.module+el8.3.0+8972+5e3224e9 RHSA-2020:5500
RHEL 8 mariadb-connector-c +2 3.1.11-2.el8_3 RHSA-2020:5503
RHEL 3 rh-mariadb102-galera 25.3.29-1.el6 RHSA-2020:4174
RHEL 3 rh-mariadb102-mariadb +19 1:10.2.33-1.el6 RHSA-2020:4174
RHEL 3 rh-mariadb103-galera 25.3.31-1.el7 RHSA-2020:5246
RHEL 3 rh-mariadb103-mariadb +18 3:10.3.27-1.el7 RHSA-2020:5246
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS Judy 1.0.5-18.module+el8+2765+cfa4f87b RHSA-2020:5654
RHEL 8.2 EUS galera 25.3.31-1.module+el8.2.0+8857+d5b3039b RHSA-2020:5654
RHEL 8.2 EUS mariadb +12 3:10.3.27-3.module+el8.2.0+9158+b3fb2ef4 RHSA-2020:5654
RHEL 8.2 EUS mariadb-connector-c +2 3.1.11-2.el8_2 RHSA-2020:5655
RHEL 8.1 EUS Judy 1.0.5-18.module+el8+2765+cfa4f87b RHSA-2020:5665
RHEL 8.1 EUS galera 25.3.31-1.module+el8.1.0+8860+1543d51b RHSA-2020:5665
RHEL 8.1 EUS mariadb +12 3:10.3.27-3.module+el8.1.0+9159+f0191ef0 RHSA-2020:5665
RHEL 8.1 EUS mariadb-connector-c +2 3.1.11-2.el8_1 RHSA-2020:5660
RHEL 8.0 E4S Judy 1.0.5-18.module+el8+2765+cfa4f87b RHSA-2020:5663
RHEL 8.0 E4S galera 25.3.31-1.module+el8.0.0+9239+73817dd5 RHSA-2020:5663
RHEL 8.0 E4S mariadb +12 3:10.3.27-3.module+el8.0.0+9160+9822c5c7 RHSA-2020:5663
RHEL 8.0 E4S mariadb-connector-c +2 3.1.11-2.el8_0 RHSA-2020:5662

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 Judy 1.0.5-18.module_el8.5.0+2632+14ced695 ALSA-2020:5500
AlmaLinux 8 mariadb-connector-c +2 3.1.11-2.el8_3 ALSA-2020:5503

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 Judy 1.0.5-18.module+el8.4.0+427+adf35707 RLSA-2020:5500
Rocky Linux 8 mariadb-connector-c 3.1.11-2.el8_3 RLSA-2020:5503
ReleasePackageFixed inAdvisory
SLES 15 SP1 mariadb 10.2.32-3.29.2 SUSE-SU-2020:1711-1
SLES 15 SP1 mariadb-connector-c 3.1.8-3.18.1 SUSE-SU-2020:1423-1
SLES 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLES 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
SLES 15 mariadb-connector-c 3.1.8-3.18.1 SUSE-SU-2020:1423-1
SLES 12 SP5 lz4 1.8.0-3.5.2 SUSE-RU-2023:4991-1
SLES 12 SP5 mariadb 10.2.32-3.28.2 SUSE-SU-2020:1710-1
SLES 12 SP5 mariadb-connector-c 3.1.8-2.15.1 SUSE-SU-2020:1431-1, SUSE-RU-2023:4991-1
SLES 12 SP5 mariadb104 10.4.30-8.5.46 SUSE-RU-2023:4991-1
SLES 12 SP5 python-mysqlclient 1.3.14-8.9.2 SUSE-RU-2023:4991-1
SLES 12 SP4 mariadb 10.2.32-3.28.2 SUSE-SU-2020:1710-1
SLES 12 SP4 mariadb-connector-c 3.1.8-2.15.1 SUSE-SU-2020:1431-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLES for SAP 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
SLES for SAP 15 mariadb-connector-c 3.1.8-3.18.1 SUSE-SU-2020:1423-1
SLES for SAP 12 SP5 lz4 1.8.0-3.5.2 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 mariadb 10.2.32-3.28.2 SUSE-SU-2020:1710-1
SLES for SAP 12 SP5 mariadb-connector-c 3.1.8-2.15.1 SUSE-SU-2020:1431-1, SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 mariadb104 10.4.30-8.5.46 SUSE-RU-2023:4991-1
SLES for SAP 12 SP5 python-mysqlclient 1.3.14-8.9.2 SUSE-RU-2023:4991-1
SLES for SAP 12 SP4 mariadb 10.2.32-3.28.2 SUSE-SU-2020:1710-1
SLES for SAP 12 SP4 mariadb-connector-c 3.1.8-2.15.1 SUSE-SU-2020:1431-1
SLE HPC 15 SP1 mariadb104 10.4.30-150100.3.5.10 SUSE-RU-2023:3956-1
SLE HPC 15 SP1 python-mysqlclient 1.4.6-150100.3.3.7 SUSE-RU-2023:3956-1
SLE HPC 15 mariadb-connector-c 3.1.8-3.18.1 SUSE-SU-2020:1423-1
SUSE OpenStack Cloud Crowbar 9 mariadb 10.2.32-3.28.2 SUSE-SU-2020:1710-1
SUSE OpenStack Cloud 9 mariadb 10.2.32-3.28.2 SUSE-SU-2020:1710-1
SUSE OpenStack Cloud 7 mariadb 10.2.36-19.1 SUSE-SU-2020:3625-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mariadb 10.6.4-2.1 openSUSE-SU-2024:11038-1
openSUSE Leap 15.1 mariadb 10.2.32-lp151.2.15.1 openSUSE-SU-2020:0870-1
openSUSE Leap 15.1 mariadb-connector-c 3.1.8-lp151.3.12.1 openSUSE-SU-2020:0738-1
ReleasePackageFixed inAdvisory
Alpine v3.11 mariadb-connector-c 3.1.6-r1 —
Alpine v3.10 mariadb-connector-c 3.0.10-r1 —
Alpine v3.9 mariadb-connector-c 3.0.8-r1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 Judy +1 1.0.5-18.module+el8.1.0+5402+691bd77e ELSA-2020-5500
Oracle Linux 8 asio-devel 1.10.8-7.module+el8.1.0+5402+691bd77e ELSA-2020-5500
Oracle Linux 8 galera 25.3.31-1.module+el8.3.0+7885+7a81225f ELSA-2020-5500
Oracle Linux 8 mariadb +12 3:10.3.27-3.module+el8.3.0+7885+7a81225f ELSA-2020-5500

Advisories 26

References