A flaw was found in OpenStack. Multiple components show plain-text passwords in /var/log/messages during the OpenStack overcloud update run, leading to a disclosure of sensitive information problem.
Description of problem:
There are multiple components that shows the plain-text passwords in /var/log/messages during openstack overcloud update run.
{'command': ['/bin/bash', '-c', "/usr/bin/virsh secret-define --file /etc/nova/secret.xml && /usr/bin/virsh secret-set-value --secret '3E4DB0C9-EA6B-4A8E-B3E1-FF8D5B3D2643' --base64 'SGVsbG8gdGhlcmUgOi0pCg=='"]
/usr/bin/redis-cli -s /var/run/redis/redis.sock -a <password> info
mysql --defaults-extra-file=/etc/my.cnf -nNE --connect-timeout=10 --user=clustercheck --password=<password> --host=localhost --port=3306 -e SHOW STATUS LIKE 'wsrep_local_state';
mysql -nNE --user=clustercheck --password=<password> -h localhost -e show status like 'wsrep_cluster_status';
Version-Release number of selected component (if applicable):
RHOSP16.2
How reproducible:
openstack overcloud update run
And check /var/log/messages
Actual results:
Passwords are visible in /var/log/messages
Expected results:
The passwords should be redacted or hidden otherwise.
Additional info:
Comment 3Product Security DevOps Team
2022-12-07 17:32:50 UTC
Description of problem: There are multiple components that shows the plain-text passwords in /var/log/messages during openstack overcloud update run. {'command': ['/bin/bash', '-c', "/usr/bin/virsh secret-define --file /etc/nova/secret.xml && /usr/bin/virsh secret-set-value --secret '3E4DB0C9-EA6B-4A8E-B3E1-FF8D5B3D2643' --base64 'SGVsbG8gdGhlcmUgOi0pCg=='"] /usr/bin/redis-cli -s /var/run/redis/redis.sock -a <password> info mysql --defaults-extra-file=/etc/my.cnf -nNE --connect-timeout=10 --user=clustercheck --password=<password> --host=localhost --port=3306 -e SHOW STATUS LIKE 'wsrep_local_state'; mysql -nNE --user=clustercheck --password=<password> -h localhost -e show status like 'wsrep_cluster_status'; Version-Release number of selected component (if applicable): RHOSP16.2 How reproducible: openstack overcloud update run And check /var/log/messages Actual results: Passwords are visible in /var/log/messages Expected results: The passwords should be redacted or hidden otherwise. Additional info: