CVE-2015-3171: sosreport sensitive information disclosure via weak permissions of the generated archives
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.10794%
CWE
Published
5/13/2022
Updated
10/25/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| sosreport | pip | < 3.3 | 3.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub patch shows the vulnerability was fixed by adding umask manipulation in the final_work function. The commit explicitly adds os.umask(0o077) and restores the original umask in a finally block. This indicates the absence of proper umask handling in this function was the root cause. The CVE description directly attributes the issue to weak archive permissions, which aligns with the umask-related code changes in this function.