Bug 1898127 (CVE-2020-27746) - CVE-2020-27746: slurm: potential leak of the magic cookie when sent as an argument to the xauth command
Summary: CVE-2020-27746: slurm: potential leak of the magic cookie when sent as an arg...
Alias: CVE-2020-27746
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1898128
TreeView+ depends on / blocked
Reported: 2020-11-16 13:14 UTC by Michael Kaplan
Modified: 2021-02-16 18:54 UTC (History)
1 user (show)

Fixed In Version: slurm 20.11.0rc2, slurm 20.02.6, slurm 19.05.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-11-16 17:28:35 UTC

Attachments (Terms of Use)

Description Michael Kaplan 2020-11-16 13:14:19 UTC
Slurm's use of the 'xauth' command to manage X11 magic cookies can lead to an inadvertent disclosure of a user's cookie when setting up X11 forwarding on a node. An attacker monitoring /proc on the node could race the setup and steal the magic cookie, which may let them connect to that user's X11 session. A job would only be impacted if --x11 was requested at submission time.

Comment 2 Michael Kaplan 2020-11-16 13:14:37 UTC
Created slurm tracking bugs for this issue:

Affects: fedora-all [bug 1898128]

Comment 3 Product Security DevOps Team 2020-11-16 17:28:35 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Note You need to log in before you can comment on or make changes to this bug.