CVE-2017-15131
It was found that system umask policy is not being honored when creating XDG user directories,...
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
- Record
CVE-2017-15131- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-284, CWE-276
- Updated
- 2026-11-02
CVE List No score
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
- Record
CVE-2017-15131- Weakness
- CWE-284
- Updated
- 2026-11-02
EUVDEUVD-2017-6592 No score
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
- Record
EUVD-2017-6592- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q4r5-4gjj-jww9
7.8
It was found that system umask policy is not being honored when creating XDG user directories,...
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
- Record
GHSA-q4r5-4gjj-jww9- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-276, CWE-284
- Updated
- 2026-11-02
OSV
7.8
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
- Record
CVE-2017-15131- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-15131
7.8
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
- Record
DEBIAN-CVE-2017-15131- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2018:0842
3.3
Red Hat Security Advisory: xdg-user-dirs security and bug fix update
- Record
RHSA-2018:0842- CVSS 3.0
- 3.3 Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-15131
7.8
It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
- Record
UBUNTU-CVE-2017-15131- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0215 No score
Updated xdg-user-dirs packages fix security vulnerability
Xsession creation of XDG user directories does not honour system umask policy (CVE-2017-15131).
- Record
MGASA-2018-0215- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xdg-user-dirsDebian:12 |
All versions, plus listed versions 0.18-10.18-20.18-30.19-10.20-1 |
None known |
xdg-user-dirsDebian:13 |
All versions, plus listed versions 0.18-20.18-30.19-10.20-1 |
None known |
xdg-user-dirsDebian:14 |
All versions, plus listed versions 0.18-20.18-30.19-10.20-1 |
None known |
xdg-user-dirsMageia:6 |
before 0.15-7.1.mga6 | 0.15-7.1.mga6 |
xdg-user-dirsRed Hat:enterprise_linux:7::client |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
xdg-user-dirs-debuginfoRed Hat:enterprise_linux:7::client |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
xdg-user-dirsRed Hat:enterprise_linux:7::computenode |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
xdg-user-dirs-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
xdg-user-dirsRed Hat:enterprise_linux:7::server |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
xdg-user-dirs-debuginfoRed Hat:enterprise_linux:7::server |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
xdg-user-dirsRed Hat:enterprise_linux:7::workstation |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
xdg-user-dirs-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:0.15-5.el7 | 0:0.15-5.el7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-15131 is a high vulnerability (CVSS 7.8) in Freedesktop Xdg-user-dirs, published January 9, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 25th percentile. Fixed in xdg-user-dirs 0.15-7.1.mga6.
References
bugzilla.redhat.com/show_bug.cgi?id=1412762
access.redhat.com/errata/RHSA-2018:0842
lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2017-15131
lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E
access.redhat.com/security/cve/CVE-2017-15131
Show 11 moreShow less
bugzilla.redhat.com/show_bug.cgi?id=1455094
github.com/advisories/GHSA-q4r5-4gjj-jww9
security-tracker.debian.org/tracker/CVE-2017-15131
advisories.mageia.org/MGASA-2018-0215.html
bugs.mageia.org/show_bug.cgi?id=22889
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-US/red_hat_enterprise_linux/7/html/7.5_release_notes/index.html
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_0842.json
cve.org/CVERecord?id=CVE-2017-15131
ubuntu.com/security/CVE-2017-15131
bugs.freedesktop.org/show_bug.cgi?id=102303