MariaDB Connector up to 3.1.7 libmariadb/mariadb_lib.c OK Packet Remote Code Execution
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in MariaDB Connector up to 3.1.7 and classified as very critical. Affected by this vulnerability is an unknown functionality of the file libmariadb/mariadb_lib.c. Such manipulation as part of OK Packet leads to Remote Code Execution. This vulnerability is traded as CVE-2020-13249. The attack may be launched remotely. There is no exploit available. It is suggested to upgrade the affected component.
Details
A vulnerability was found in MariaDB Connector up to 3.1.7 (Database Software). It has been rated as very critical. Affected by this issue is an unknown code of the file libmariadb/mariadb_lib.c. The manipulation as part of a OK Packet leads to a remote code execution vulnerability. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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 client. NOTE: although mariadb_lib.c was originally based on code shipped for MySQL, this issue does not affect any MySQL components supported by Oracle.
The weakness was shared 05/20/2020. This vulnerability is handled as CVE-2020-13249 since 05/20/2020. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 05/16/2025).
The vulnerability scanner Nessus provides a plugin with the ID 236705 (Alibaba Cloud Linux 3 : 0007: mariadb-connector-c (ALINUX3-SA-2021:0007)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.1.8 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (236705). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Not Affected
- Oracle MySQL
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.8VulDB Meta Temp Score: 9.6
VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Remote Code ExecutionCWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236705
Nessus Name: Alibaba Cloud Linux 3 : 0007: mariadb-connector-c (ALINUX3-SA-2021:0007)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Connector 3.1.8
Timeline
05/20/2020 🔍05/20/2020 🔍
05/21/2020 🔍
05/16/2025 🔍
Sources
Status: ConfirmedCVE: CVE-2020-13249 (🔍)
GCVE (CVE): GCVE-0-2020-13249
GCVE (VulDB): GCVE-100-155474
Entry
Created: 05/21/2020 09:21Updated: 05/16/2025 20:27
Changes: 05/21/2020 09:21 (38), 05/21/2020 09:26 (17), 05/16/2025 20:27 (21)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.