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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | sosreport | 3.2+git276-g7da50d6-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | sosreport | 3.1-1ubuntu2.2 | USN-2845-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | sos | 3.2-35.0.1.el7_2.3 | ELSA-2016-0188 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | sosreport | >= 3.0, < 3.3 | 3.3 | GHSA-3g56-2hh3-35ph |
| PyPI | sosreport | >= 3.0 | — | PYSEC-2017-73 |
Advisories 4
- RHSA-2016:0188 Red Hat Security Advisory: sos security and bug fix update Red Hat Security Advisories (RHSA) · May 13, 2026
- RHSA-2016:0152 Red Hat Security Advisory: sos security and bug fix update Red Hat Security Advisories (RHSA) · May 13, 2026
- USN-2845-1 sosreport vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- ELSA-2016-0188 Moderate: sos security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 16, 2016
References
- USN-2845-1 vendor-advisory
- https://github.com/sosreport/sos/issues/696
- RHSA-2016:0152 vendor-advisory
- RHSA-2016:0188 vendor-advisory
- 83162 vdb-entry
- https://access.redhat.com/errata/RHSA-2016:0188
- https://bugzilla.redhat.com/show_bug.cgi?id=1282542
- https://access.redhat.com/errata/RHSA-2016:0152