logo

Database

Insecure digital certificates In mariadb-connector-c

Description

A flaw was found in MariaDB Connector/C. During automatic Transport Layer Security (TLS) connection setup, the library verifies certificate trust but fails to confirm that the server hostname matches the certificate before switching authentication methods. An active man-in-the-middle (MitM) attacker with a valid certificate for a different domain can exploit this vulnerability to intercept the encrypted connection, request plaintext authentication, and capture database passwords.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Component