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.
| Package | Affected versions | Patched versions |
|---|---|---|
sosreportPyPI | < 3.3 | 3.3 |
Affected products
1- cpe:2.3:a:sos_project:sos:3.2:-:*:*:*:*:*:*
Patches
1d7759d3ddae5[sosreport] fix archive permissions regression
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- bugzilla.redhat.com/show_bug.cginvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/sosreport/sos/commit/d7759d3ddae5fe99a340c88a1d370d65cfa73fd6nvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-gw46-8559-cggpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2015-3171ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/sosreport/PYSEC-2017-72.yamlghsaWEB
- github.com/sosreport/sos/issues/425ghsaWEB
News mentions
0No linked articles in our index yet.