Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-93885

sos clean does not obfuscate domain names for image mode systems

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • No
    • Important
    • rhel-sst-cee-supportability
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      Running sos cleaner on an image-mode system, it's domain name is not cleaned up.

      We need to backport https://github.com/sosreport/sos/pull/4026 that fixes it.

      What is the impact of this issue to you?

      Private data leak from customers can happen.

      Please provide the package NVR for which the bug is seen:

      sos-4.8.2

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Have an image-mode system (technically a system where 1) `hostname` returns shortname only, 2) `hostname -f` returns FQDN and 3) `/etc/hosts` is almost empty).
      2. Run `sos report -o host, networking --clean --batch --build` on it
      3. Check that domain name of the host was not obfuscated - just shortname was

      Expected results

      Domain name obfuscated along with its shortname in the obfuscated report

      Actual results

      Domain name still present in the obfuscated report

              rhn-support-jjansky Jan Jansky
              rhn-support-pmoravec Pavel Moravec
              Pavel Moravec Pavel Moravec
              Daniel Zalezak Daniel Zalezak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: