Vulnerability identifier: #VU29426
Vulnerability risk: Medium
CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-119
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
MariaDB Connector/C
Universal components / Libraries /
Programming Languages & Components
Vendor: MariaDB Foundation
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to insufficient validation of the content
of an OK packet received from a server within the
libmariadb/mariadb_lib.c file in MariaDB Connector/C. A remote attacker can trick the victim to connect to a malicious MariaDB server and trigger memory corruption.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
MariaDB Connector/C: 3.1.0 - 3.1.7
External links
https://lists.opensuse.org/opensuse-security-announce/2020-05/msg00064.html
https://lists.opensuse.org/opensuse-security-announce/2020-06/msg00054.html
https://github.com/mariadb-corporation/mariadb-connector-c/commit/2759b87d72926b7c9b5426437a7c8dd15ff57945
https://github.com/mariadb-corporation/mariadb-connector-c/compare/v3.1.7...v3.1.8
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UW2ED32VEUHXFN2J3YQE27JIBV4SC2PI/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.