[MDEV-24979] MariaDB Galera: wsrep_sst_auth shown in logs Created: 2021-02-25 Updated: 2021-05-10 Resolved: 2021-05-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Galera SST |
| Affects Version/s: | 10.5.9 |
| Fix Version/s: | 10.5.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Javier J. Salmeron-Garcia | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | security | ||
| Environment: |
Kubernetes |
||
| Description |
|
We are launching a MariaDB Galera cluster and we are using the --wsrep_sst_auth flag. According to the documentation
However, I check the logs and it is clearly seen:
Check the last part of the command. As you can see, the password is shown in the logs, being a vulnerability. Would it be possible for that flag to be properly masked? This is the command that is being run:
|
| Comments |
| Comment by Julius Goryavsky [ 2021-05-09 ] |
|
This problem was solved together with the transition of passing authentication parameters through the environment, which works successfully after |