CVE-2023-40354: MariaDB Maxscale

Medium severity, CVSS 6.5. EPSS: 0.4% probability of exploitation activity in the next 30 days.

An issue was discovered in MariaDB MaxScale before 23.02.3. A user enters an encrypted password on a "maxctrl create service" command line, but this password is then stored in cleartext in the resulting .cnf file under /var/lib/maxscale/maxscale.cnf.d. The fixed versions are 2.5.28, 6.4.9, 22.08.8, and 23.02.3.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • MariaDB Maxscale, before 2.5.28: fixed in 2.5.28
  • MariaDB Maxscale, from 6.0.0, before 6.4.9: fixed in 6.4.9
  • MariaDB Maxscale, from 22.08, before 22.08.8: fixed in 22.08.8
  • MariaDB Maxscale, from 23.02, before 23.02.3: fixed in 23.02.3

Affected products

  • MariaDB Maxscale: before 2.5.28 (fixed in 2.5.28); from 6.0.0, before 6.4.9 (fixed in 6.4.9); from 22.08, before 22.08.8 (fixed in 22.08.8); from 23.02, before 23.02.3 (fixed in 23.02.3)

Published 2023-08-14. Last modified 2026-06-17.