CVE-2015-7529
sos: Usage of predictable temporary files allows privilege escalation
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-59
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | sosreport | >=3.0, <3.3 | 3.3 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | sos | 3.2-35.0.1.el7_2.3 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | sos | wont fix | — |
| 7 | sos | 0:3.2-35.el7_2.3 | RHSA-2016:0188 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | sosreport | 3.2+git276-g7da50d6-3 |
| 12 | sosreport | 3.2+git276-g7da50d6-3 |
References
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-0152.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-0188.html
- www.securityfocus.com http://www.securityfocus.com/bid/83162
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2845-1
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:0152
- access.redhat.com https://access.redhat.com/errata/RHSA-2016:0188
- access.redhat.com https://access.redhat.com/security/cve/CVE-2015-7529
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1282542
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/sosreport/PYSEC-2017-73.yaml
- github.com https://github.com/sosreport/sos
Show all 17 references
- github.com https://github.com/sosreport/sos/issues/696
- linux.oracle.com https://linux.oracle.com/cve/CVE-2015-7529.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-0188.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2015-7529
- ubuntu.com https://ubuntu.com/security/notices/USN-2845-1
- web.archive.org https://web.archive.org/web/20160416033632/http://www.securityfocus.com/bid/83162
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2015-7529
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.