CVE-2015-3171 sosreport sensitive information disclosure via weak permissions of the generated archives
Local attackers can read sensitive data from sosreport archives due to weak file permissions in the diagnostic tool.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-3171?
CVE-2015-3171 is a medium-severity vulnerability in n/a, published on 25 Jul 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2015-3171?
3 open source packages ship an affected version, including sosreport. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sosreport PyPI | All versions | 3.3 |
sosreport PyPI | All versions | 3.3 |
sosreport PyPI | From 3.0 | None |
Products include Sos Project Sos.
How do I fix CVE-2015-3171?
Upgrade sosreport to 3.3 or later.
Is CVE-2015-3171 being exploited?
There is no known exploitation of CVE-2015-3171 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2015-3171, GHSA-gw46-8559-cggp, PYSEC-2017-72.