CVE-2017-15131
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.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | xdg-user-dirs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xdg-user-dirs | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xdg-user-dirs | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xdg-user-dirs | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xdg-user-dirs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xdg-user-dirs | Fix pending | ||
| Ubuntu 14.04 | xdg-user-dirs | Fix pending | ||
| Debian 14 | xdg-user-dirs | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2017-15131 | |
| Debian 13 | xdg-user-dirs | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2017-15131 | |
| Debian 12 | xdg-user-dirs | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2017-15131 | |
| Red Hat Enterprise Linux 7 | xdg-user-dirs | Fixed | 0:0.15-5.el7 | RHSA-2018:0842 |
| Red Hat Enterprise Linux 6 | xdg-user-dirs | Will not fix Will not fix |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat, Inc. RHEL shipped xdg-user-dirs and gnome-session: affected: before 0.15-5
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:0842 (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1412762
- https://access.redhat.com/errata/RHSA-2018:0842
- https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.