{"id":"CVE-2017-15131","aliases":["DEBIAN-CVE-2017-15131","EUVD-2017-6592","GHSA-q4r5-4gjj-jww9","MGASA-2018-0215","RHSA-2018:0842","UBUNTU-CVE-2017-15131"],"status":"published","title":"It was found that system umask policy is not being honored when creating XDG user directories,...","description":"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.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00321,"percentile":0.25286,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-276","CWE-284"],"published":"2018-01-09T21:00:00Z","modified":"2026-09-01T20:03:44Z","fixes":[{"ecosystem":"Mageia:6","package":"xdg-user-dirs","fixed_in":["0.15-7.1.mga6"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"xdg-user-dirs","fixed_in":["0:0.15-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"xdg-user-dirs-debuginfo","fixed_in":["0:0.15-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xdg-user-dirs","fixed_in":["0:0.15-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xdg-user-dirs-debuginfo","fixed_in":["0:0.15-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"xdg-user-dirs","fixed_in":["0:0.15-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"xdg-user-dirs-debuginfo","fixed_in":["0:0.15-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xdg-user-dirs","fixed_in":["0:0.15-5.el7"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xdg-user-dirs-debuginfo","fixed_in":["0:0.15-5.el7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18-1","0.18-2","0.18-3","0.19-1","0.20-1"]},{"source":"osv","ecosystem":"Debian:13","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18-2","0.18-3","0.19-1","0.20-1"]},{"source":"osv","ecosystem":"Debian:14","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18-2","0.18-3","0.19-1","0.20-1"]},{"source":"osv","ecosystem":"Mageia:6","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15-7.1.mga6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"xdg-user-dirs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"xdg-user-dirs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"xdg-user-dirs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xdg-user-dirs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"xdg-user-dirs-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.15-5.el7"}]}]}],"products":[{"vendor":"freedesktop","product":"xdg-user-dirs"},{"vendor":"red hat, inc.","product":"rhel shipped xdg-user-dirs and gnome-session"},{"vendor":"redhat","product":"enterprise_linux"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1412762","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","report"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0842","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15131","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E"},{"url":"https://access.redhat.com/security/cve/CVE-2017-15131","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1455094","tags":["report"]},{"url":"https://github.com/advisories/GHSA-q4r5-4gjj-jww9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-15131","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0215.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22889","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-US/red_hat_enterprise_linux/7/html/7.5_release_notes/index.html","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_0842.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-15131","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2017-15131","tags":["report"]},{"url":"http://bugs.freedesktop.org/show_bug.cgi?id=102303","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-15131","description":"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.","status":"published","published":"2018-01-09T21:00:00Z","modified":"2024-08-05T19:50:16.341Z","cwes":["CWE-284"],"updated_at":"2026-11-02T14:33:14.556599Z"}],"euvd":[{"id":"EUVD-2017-6592","description":"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.","status":"published","published":"2018-01-09T21:00:00Z","modified":"2024-08-05T19:50:16Z","updated_at":"2026-11-03T02:23:14.849102Z"}],"ghsa":[{"id":"GHSA-q4r5-4gjj-jww9","title":"It was found that system umask policy is not being honored when creating XDG user directories,...","description":"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.","status":"published","published":"2022-05-13T01:11:38Z","modified":"2023-02-02T15:30:29Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-276","CWE-284"],"updated_at":"2026-11-02T14:52:46.933473Z"}],"nvd":[{"id":"CVE-2017-15131","description":"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.","status":"published","published":"2018-01-09T21:29:00.373Z","modified":"2026-06-17T01:07:18.3Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-284","CWE-276"],"updated_at":"2026-11-02T14:04:12.690425Z"}],"osv":[{"id":"CVE-2017-15131","description":"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.","status":"published","published":"2018-01-09T21:29:00.373Z","modified":"2026-04-16T06:24:46.142883994Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.572713Z"},{"id":"DEBIAN-CVE-2017-15131","description":"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.","status":"published","published":"2018-01-09T21:29:00.373Z","modified":"2026-09-01T20:03:44.963583122Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"RHSA-2018:0842","title":"Red Hat Security Advisory: xdg-user-dirs security and bug fix update","status":"published","published":"2024-09-16T00:47:06Z","modified":"2026-06-26T10:36:52Z","cvss":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:53:04.822845Z"},{"id":"UBUNTU-CVE-2017-15131","description":"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.","status":"withdrawn","published":"2018-01-09T21:29:00Z","modified":"2026-02-12T06:28:09.370697Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"MGASA-2018-0215","title":"Updated xdg-user-dirs packages fix security vulnerability","description":"Xsession creation of XDG user directories does not honour system umask\npolicy (CVE-2017-15131).\n","status":"published","published":"2018-04-30T19:08:07Z","modified":"2026-04-16T06:22:34.708084279Z","updated_at":"2026-11-02T15:49:40.442238Z"}]}}
