[Bug 2085607] Re: [sru] Obfuscation issues in sosreport sos 4.7.2

Arif Ali 2085607 at bugs.launchpad.net
Fri Nov 29 21:58:55 UTC 2024


heat

default install os sos from main

ubuntu at juju-536901-focal-ussuri-2:~$ sudo sos report -o openstack_heat --batch --build                                                                                                               
                                                                                                                                                                
sosreport (version 4.7.2)                                                                                                                                       
<snip>                                                                                                                                                                
 Setting up archive ...                                                                                                                                         
 Setting up plugins ...                                                                                                                                         
 Running plugins. Please wait ...                                                                                                                               
                                                                                                                                                                
  Starting 1/1   openstack_heat  [Running: openstack_heat]                                                                                                      
<snip>                                                                                                                                                                
Your sosreport build tree has been generated in:
        /tmp/sosreport-juju-536901-focal-ussuri-2-2024-11-29-eqizkzh


ubuntu at juju-536901-focal-ussuri-2:~$ sudo grep auth_encryption_key /tmp/sosreport-juju-536901-focal-ussuri-2-2024-11-29-eqizkzh/etc/heat/heat.conf
auth_encryption_key = 9YRqXPf3nswZHdZLFs3XGJZWwgzTy5bq


# Now enable the package in proposed

ubuntu at juju-536901-focal-ussuri-2:~$ sudo sos report -o openstack_heat
--batch --build

sosreport (version 4.7.2)
<snip>
 Setting up archive ...
 Setting up plugins ...
 Running plugins. Please wait ...

  Starting 1/1   openstack_heat  [Running: openstack_heat]

  Finished running plugins

Your sosreport build tree has been generated in:
        /tmp/sosreport-juju-536901-focal-ussuri-2-2024-11-29-gzlngrb

ubuntu at juju-536901-focal-ussuri-2:~$ sudo grep auth_encryption_key /tmp/sosreport-juju-536901-focal-ussuri-2-2024-11-29-gzlngrb/etc/heat/heat.conf
auth_encryption_key = *********

The config option is now obfuscated

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2085607

Title:
  [sru] Obfuscation issues in sosreport sos 4.7.2

Status in sosreport source package in Focal:
  Fix Committed
Status in sosreport source package in Jammy:
  Fix Committed
Status in sosreport source package in Noble:
  Fix Committed
Status in sosreport source package in Oracular:
  Fix Committed

Bug description:
  [ Impact ]

  When doing SRU for sos 4.7.2 we encountered obfuscation issues,
  although not a regression at the time, it was still an issue that had
  been present for a while

  So, these passwords would be fully visible to the end support
  personnel and therefore leaked passwords.

  [ Test Plan ]

  1. Deploy a sunbeam simple cloud, and run the sos report, check to see if passwords are obfuscated in configuration file
  2. Deploy heat, and ensure auth_encryption_key is obfuscated in configuration file
  3. Deploy placement, and ensure that both NOVA_API_PASS and PLACEMENT_PASS are obfuscated in configuration file
  4. Deploy mysql and ensure password field is obfuscated in configuration file

  [ Where problems could occur ]

  The corresponding files are not obfuscated, and we need to update the
  patches

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/focal/+source/sosreport/+bug/2085607/+subscriptions




More information about the Ubuntu-sponsors mailing list