CVE-2020-13249
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.39% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 83.9% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2020-05-20 18:48Z6 YR AGO
- Last updated
- 2024-08-04 12:11Z2 YR AGO
- Reserved
- 2020-05-20
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-20Improper Input ValidationClass
- Data version
- 5.1
- Document digest
- 60d9cd3c6743f9faadd24fa8c99f8a3be66f1f66f93f50b26bed36e46d817f03
05 Affected products
06 References
- github.comhttps://github.com/mariadb-corporation/mariadb-connector-c/commit/2759b87d72926b7c9b5426437a7c8dd15ff57945
- github.comhttps://github.com/mariadb-corporation/mariadb-connector-c/compare/v3.1.7...v3.1.8
- lists.opensuse.orgopenSUSE-SU-2020:0738http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00064.html
- lists.fedoraproject.orgFEDORA-2020-35f52d9370https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UW2ED32VEUHXFN2J3YQE27JIBV4SC2PI/
- lists.opensuse.orgopenSUSE-SU-2020:0870http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00054.html
- lists.fedoraproject.orgFEDORA-2020-ac2d47d89ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4X2BMF3EILMTXGOZDTPYS3KT5VWLA2P/
07 Fixed in
AlmaLinux 8
- Judy Fixed
A version is affected if any line below covers it.
- Affected before 1.0.5-18.module_el8.5.0+2632+14ced695
- Affected before 1.0.5-18.module_el8.6.0+2761+593e5e59
- Affected before 1.0.5-18.module_el8.6.0+2867+72759d2f
- mariadb-connector-c Fixed in 3.1.11-2.el8_3
- mariadb-connector-c-config Fixed in 3.1.11-2.el8_3
- mariadb-connector-c-devel Fixed in 3.1.11-2.el8_3
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- Judy Fixed
A version is affected if any line below covers it.
- Affected before 1.0.5-18.module_el8.5.0+2632+14ced695
- Affected before 1.0.5-18.module_el8.6.0+2761+593e5e59
- Affected before 1.0.5-18.module_el8.6.0+2867+72759d2f
- mariadb-connector-c Fixed in 3.1.11-2.el8_3
- mariadb-connector-c-config Fixed in 3.1.11-2.el8_3
- mariadb-connector-c-devel Fixed in 3.1.11-2.el8_3
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- mariadb-10.0 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- mariadb-10.1 Fixed in 1:10.1.47-0ubuntu0.18.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- mariadb-10.3 Fixed in 1:10.3.25-0ubuntu0.20.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.