CVE-2015-3171: sosreport sensitive information disclosure via weak permissions of the generated archives

CVE-2015-3171 · Severity: low · CVSS 3.1 · Published 2017-07-25

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.

Technologies: sosreport (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2015-3171 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2015-3171 being exploited in the wild.
How severe is CVE-2015-3171?
Low severity, with a CVSS score of 3.1, published 25 July 2017.
Which products and versions are affected?
sosreport (PyPI) ECOSYSTEM:introduced=0,fixed=3.3, GIT:introduced=0,fixed=d7759d3ddae5fe99a340c88a1d370d65cfa73fd6|ECOSYSTEM:introduced=3.0.
Is there a fix for CVE-2015-3171?
Yes. sosreport (PyPI): upgrade to 3.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2015-3171?
Check whether you run sosreport (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • sosreport (PyPI): upgrade to 3.3 or later
    pip install "sosreport>=3.3"

Affected products

  • sosreport (PyPI) ECOSYSTEM:introduced=0,fixed=3.3, GIT:introduced=0,fixed=d7759d3ddae5fe99a340c88a1d370d65cfa73fd6|ECOSYSTEM:introduced=3.0

Identifiers

  • CVE-2015-3171
  • GHSA-gw46-8559-cggp
  • PYSEC-2017-72

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.