VYPR
Medium severity5.5NVD Advisory· Published Jul 25, 2017· Updated May 13, 2026

CVE-2015-3171

CVE-2015-3171

Description

sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with access to /var/tmp/ to obtain sensitive information by reading the contents of the archive.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
sosreportPyPI
< 3.33.3

Affected products

1

Patches

1
d7759d3ddae5

[sosreport] fix archive permissions regression

https://github.com/sosreport/sosBryn M. ReevesOct 30, 2014via ghsa
1 file changed · +3 0
  • sos/sosreport.py+3 0 modified
    @@ -1327,6 +1327,7 @@ def final_work(self):
             self._finish_logging()
             # package up the results for the support organization
             if not self.opts.build:
    +            old_umask = os.umask(0o077)
                 if not self.opts.quiet:
                     print(_("Creating compressed archive..."))
                 # compression could fail for a number of reasons
    @@ -1345,6 +1346,8 @@ def final_work(self):
                         raise
                     else:
                         return False
    +            finally:
    +                os.umask(old_umask)
             else:
                 final_filename = self.archive.get_archive_path()
             self.policy.display_results(final_filename, build=self.opts.build)
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.