What’s Vulnerable › Vulnerabilities
CVE-2023-40354
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-08-14 · updated 2026-06-17
- Weakness: CWE-312
Description
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.
Affected products
- MariaDB Maxscale: before 2.5.28; from 6.0.0 before 6.4.9; from 22.08 before 22.08.8; from 23.02 before 23.02.3 — fixed in 2.5.28, 22.08.8, 23.02.3, 6.4.9
How to fix
Upgrade to a fixed version: MariaDB Maxscale 2.5.28, 22.08.8, 23.02.3, 6.4.9. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2023-40354 or the next vulnerability affects your stack