Buffer overflow in mariadb-connector-c (Alpine package)



Published: 2020-12-11
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-13249
CWE-ID CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
squid (Alpine package)
Operating systems & Components / Operating system package or component

mariadb-connector-c (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU29426

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-13249

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

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 update from vendor's website.

Vulnerable software versions

squid (Alpine package): 3.5.27-r2 - 4.13-r0

mariadb-connector-c (Alpine package): 3.0.8-r0 - 3.1.6-r0

External links

http://git.alpinelinux.org/aports/commit/?id=7e32b40815d8dd66fda3d12049a6813ec52d7fb2
http://git.alpinelinux.org/aports/commit/?id=eeb63a5f99497c5b12a40fbb2c463ece02ba2aaa
http://git.alpinelinux.org/aports/commit/?id=fc66328ebb9c4cce814c99e418ef1e60e2d82db6


Q & A

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.



###SIDEBAR###