4.6 Medium
CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:L/Au:N/C:P/I:P/A:P
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
0.0004 Low
EPSS
Percentile
5.1%
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.
Author | Note |
---|---|
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. |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 22.04 | noarch | xdg-user-dirs | < any | UNKNOWN |
4.6 Medium
CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:L/Au:N/C:P/I:P/A:P
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
0.0004 Low
EPSS
Percentile
5.1%