Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2017-15131

Published: 9 January 2018

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.

Notes

AuthorNote
seth-arnold
This feels like a fundamental misunderstanding of Unix model to
assume that every task run on behalf of a user will be started as a child
process of bash or sh run as an interactive or login shell.
Environments that want a specific umask set for users should use
the pam_umask(8) module as part of the login process.
Environments that need a specific umask set for compliance reasons
should investigate the feasibility of preparing a single-purpose LSM or
seccomp jail interface of some sort.
rodrigo-zaiden
pam_umask is being used to set umask when an interactive
session is started, so Ubuntu is not affected by this CVE.

Priority

Low

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
xdg-user-dirs
Launchpad, Ubuntu, Debian
artful Ignored
(end of life)
bionic Not vulnerable

cosmic Ignored
(end of life)
disco Ignored
(end of life)
eoan Ignored
(end of life)
focal Not vulnerable

groovy Ignored
(end of life)
hirsute Ignored
(end of life)
impish Not vulnerable

jammy Needs triage

kinetic Not vulnerable

lunar Not vulnerable

mantic Not vulnerable

trusty Does not exist
(trusty was needs-triage)
upstream Not vulnerable
(Red Hat specific)
xenial Not vulnerable

zesty Ignored
(end of life)

Severity score breakdown

Parameter Value
Base score 7.8
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H