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

Source: https://junglewise.ai/threats/cve-2015-3171-sosreport-sensitive-information-disclosure-via-weak-permissions-of  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-07-25  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/sosreport). Vendors: [PyPI](https://junglewise.ai/threats/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

  ```sh
  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

## Related threats

- [PYSEC-2026-925 - sosreport Exposure of Sensitive Information vulnerability](https://junglewise.ai/threats/cve-2022-2806-sosreport-exposure-of-sensitive-information-vulnerability)
- [SoSReport predictable temporary file names](https://junglewise.ai/threats/cve-2015-7529-sosreport-predictable-temporary-file-names)
