Every CVE Search/ Get API key

CVE-2017-15131

It was found that system umask policy is not being honored when creating XDG user directories,...

7.8 HighFix available

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

0.32%Down 0.5 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 LowCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
xdg-user-dirs
Debian:12
All versions, plus listed versions
0.18-10.18-20.18-30.19-10.20-1
None known
xdg-user-dirs
Debian:13
All versions, plus listed versions
0.18-20.18-30.19-10.20-1
None known
xdg-user-dirs
Debian:14
All versions, plus listed versions
0.18-20.18-30.19-10.20-1
None known
xdg-user-dirs
Mageia:6
before 0.15-7.1.mga6
0.15-7.1.mga6
xdg-user-dirs
Red Hat:enterprise_linux:7::client
before 0:0.15-5.el7
0:0.15-5.el7
xdg-user-dirs-debuginfo
Red Hat:enterprise_linux:7::client
before 0:0.15-5.el7
0:0.15-5.el7
xdg-user-dirs
Red Hat:enterprise_linux:7::computenode
before 0:0.15-5.el7
0:0.15-5.el7
xdg-user-dirs-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:0.15-5.el7
0:0.15-5.el7
xdg-user-dirs
Red Hat:enterprise_linux:7::server
before 0:0.15-5.el7
0:0.15-5.el7
xdg-user-dirs-debuginfo
Red Hat:enterprise_linux:7::server
before 0:0.15-5.el7
0:0.15-5.el7
xdg-user-dirs
Red Hat:enterprise_linux:7::workstation
before 0:0.15-5.el7
0:0.15-5.el7
xdg-user-dirs-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:0.15-5.el7
0:0.15-5.el7

History

History
RecordedChangedSources
affected
aliasesEUVD
first indexedCVE 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

Show 11 moreShow less
MoveEnter Open