Impact
The MariaDB Connector for Node.js contains a flaw that removes the secure‑transport requirement for the mysql_clear_password plugin used in PAM dialog authentication. When the connector operates with sslMode=DISABLE and restrictedAuth unset, it can transmit account passwords over plain TCP. A hostile or on‑path server can force this behavior, causing the node application to reveal the database password in cleartext, thereby compromising the confidentiality of credentials.
Affected Systems
MariaDB Corporation’s MariaDB Connector/Node.js is affected. All releases before 3.2.4, 3.3.3, 3.4.6, and 3.5.3 are vulnerable.
Risk and Exploitability
With a CVSS score of 5.9 the vulnerability is moderate. The EPSS score is not available and the issue is not listed in CISA’s KEV catalog. The likely attack path involves an application that connects to the database without TLS (sslMode=DISABLE) and with restrictedAuth unset; a network adversary or malicious server can send a switch request to trigger cleartext transmission. While the flaw does not provide code execution, exposed passwords can lead to further compromise if reused elsewhere.
OpenCVE Enrichment
Github GHSA