GHSA-473q-m89c-ghf8

    Dashboard / Vulnerabilities / GHSA-473q-m89c-ghf8

    GHSA-473q-m89c-ghf8

    Published: 28 Oct 2026Last Modified: 28 Oct 2026

    Summary: MySqlConnector: Account password disclosed to a man-in-the-middle in zero-configuration TLS mode (clear-text password sent before certificate is verified)

    Details: ## Summary With `SslMode` set to `VerifyCA` or `VerifyFull` with no configured CA certificate, an unvalidated TLS connection is treated as secure and a clear-text password can be sent before the certificate is checked. This can occur when relying on the password to validate a self-signed cert, e.g., MariaDB's [zero-configuration TLS](https://mariadb.com/docs/server/security/encryption/data-in-transit-encryption/zero-configuration-ssl). ## Impact An attacker who can deploy a man-in-the-middle MySQL proxy presenting any self-signed certificate can capture the plaintext database password of a client that: - uses `SslMode = VerifyCA` or `VerifyFull`, and - does not use the `SslCa` connection string option, and - uses a non-empty password. The attacker completes the TLS handshake with its own cert, requests a clear-text password authentication scheme (`mysql_clear_password`, or forces the `caching_sha2_password`/`sha256_password` clear-text fallback), and receives the password before the fingerprint check rejects the connection, defeating the man-in-the-middle protection `VerifyFull` is expected to provide. Not affected: a configured CA (`SslCa`), CA-validated TLS, local connections (Unix socket / loopback), or empty passwords. Using `SslMode` set to `Preferred` or `Required` is out of scope (this is documented as not authenticating the server). ## Workarounds Provide `SslCa` with `VerifyCA`/`VerifyFull`, use a local/Unix-socket connection, or avoid clear-text authentication. ## References - https://mariadb.org/mission-impossible-zero-configuration-ssl/

    Affected packages

    Package

    Name: MySqlConnector

    Purl: pkg:nuget/MySqlConnector

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.6.1

    Affected versions

    0.1.0
    0.1.0-alpha01
    0.1.0-alpha02
    0.1.0-alpha03
    0.1.0-alpha04
    0.1.0-alpha05
    0.1.0-alpha06
    0.1.0-alpha07
    0.1.0-alpha08
    0.1.0-alpha09
    0.1.0-alpha10
    0.1.0-alpha11
    0.1.0-alpha12
    0.1.0-alpha13
    0.1.0-alpha14
    0.1.0-alpha15
    0.1.0-alpha16
    0.1.0-alpha17
    0.1.0-alpha18
    0.1.0-alpha19
    0.1.0-alpha20
    0.1.0-alpha21
    0.1.0-alpha22
    0.1.0-alpha23
    0.1.0-alpha24
    0.1.0-alpha25
    0.1.0-alpha26

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-473q-m89c-ghf8 | CVE-DB