Skip to content
OpenAdvisories
High · 7.8 CVE-2015-7529 EUVD-2017-0131GHSA-3g56-2hh3-35phPYSEC-2017-73

SoSReport Predictable Tmp File Names

Published Nov 6, 2017 · Updated Aug 6, 2024 · Assigned by redhat

Description

sosreport in SoS 3.x allows local users to obtain sensitive information from sosreport files or gain privileges via a symlink attack on an archive file in a temporary directory, as demonstrated by sosreport-$hostname-$date.tar in /tmp/sosreport-$hostname-$date.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 sosreport 3.2+git276-g7da50d6-3 —
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS sosreport 3.1-1ubuntu2.2 USN-2845-1
ReleasePackageFixed inAdvisory
RHEL 7 sos 3.2-35.el7_2.3 RHSA-2016:0188
RHEL 6 sos 3.2-28.el6_7.2 RHSA-2016:0152

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 sos 3.2-35.0.1.el7_2.3 ELSA-2016-0188

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI sosreport >= 3.0, < 3.3 3.3 GHSA-3g56-2hh3-35ph
PyPI sosreport >= 3.0 — PYSEC-2017-73

Advisories 4

References