Bug 1218845 (CVE-2024-0408)

Summary: VUL-0: CVE-2024-0408: xorg-x11-server,xwayland: SELinux unlabeled GLX PBuffer
Product: [Novell Products] SUSE Security Incidents Reporter: Alexander Bergmann <abergmann>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: CONFIRMED --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: abergmann, cathy.hu, sndirsch
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/391302/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-0408:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N)
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alexander Bergmann 2024-01-16 12:29:22 UTC
CVE-2024-0408: SELinux unlabeled GLX PBuffer

Introduced in: xorg-server-1.10.0 (2011)
Fixed in: xorg-server-21.1.11 and xwayland-23.2.4
Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/e5e8586a12a3ec915673edffa10dc8fe5e15dac3
Found by: Olivier Fourdan and Donn Seeley

The XSELINUX code in the Xserver labels the X resources based on a hook. What
happens here is that the GLX PBuffer code does not call that XACE hook when
creating the buffer, so it remains unlabeled, and when the client issues
another request to access that resource (as here with a GetGeometry) or even
when it creates another resource which needs to access that buffer (such as a
GC), the XSELINUX code will try to use an object that was never labeled and
crash because the SID is NULL.

xorg-server-21.1.11 and xwayland-23.2.4 have been patched to fix this issue.
Comment 1 Stefan Dirsch 2024-01-17 14:46:41 UTC
xorg-x11-server Update done for

sle15-sp5
sle15-sp4
sle15-sp2
sle12-sp5

xwayland Update done for

sle15-sp5
sle15-sp4

xorg-11-server/xwayland for X11:XOrg devel project, factory/TW and ALP was done before by updating to latest release, which already included these fixes.

Reassigning to security team.
Comment 3 Maintenance Automation 2024-01-19 12:30:01 UTC
SUSE-SU-2024:0165-1: An update that solves six vulnerabilities can now be installed.

Category: security (important)
Bug References: 1218582, 1218583, 1218584, 1218585, 1218845, 1218846
CVE References: CVE-2023-6816, CVE-2024-0229, CVE-2024-0408, CVE-2024-0409, CVE-2024-21885, CVE-2024-21886
Sources used:
openSUSE Leap 15.4 (src): xwayland-21.1.4-150400.3.31.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): xwayland-21.1.4-150400.3.31.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Maintenance Automation 2024-01-24 16:30:13 UTC
SUSE-SU-2024:0212-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1218845, 1218846
CVE References: CVE-2024-0408, CVE-2024-0409
Sources used:
openSUSE Leap 15.5 (src): xwayland-22.1.5-150500.7.17.1
SUSE Linux Enterprise Workstation Extension 15 SP5 (src): xwayland-22.1.5-150500.7.17.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Maintenance Automation 2024-01-25 20:30:01 UTC
SUSE-SU-2024:0236-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1218845, 1218846
CVE References: CVE-2024-0408, CVE-2024-0409
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): xorg-x11-server-1.19.6-10.68.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): xorg-x11-server-1.19.6-10.68.1
SUSE Linux Enterprise Server 12 SP5 (src): xorg-x11-server-1.19.6-10.68.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): xorg-x11-server-1.19.6-10.68.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2024-01-26 16:30:04 UTC
SUSE-SU-2024:0252-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1218845, 1218846
CVE References: CVE-2024-0408, CVE-2024-0409
Sources used:
openSUSE Leap 15.4 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Manager Proxy 4.3 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Manager Retail Branch Server 4.3 (src): xorg-x11-server-1.20.3-150400.38.43.1
SUSE Manager Server 4.3 (src): xorg-x11-server-1.20.3-150400.38.43.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2024-01-26 16:30:07 UTC
SUSE-SU-2024:0251-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1218845, 1218846
CVE References: CVE-2024-0408, CVE-2024-0409
Sources used:
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Linux Enterprise Workstation Extension 15 SP5 (src): xorg-x11-server-1.20.3-150200.22.5.91.1
SUSE Enterprise Storage 7.1 (src): xorg-x11-server-1.20.3-150200.22.5.91.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Maintenance Automation 2024-01-26 16:30:25 UTC
SUSE-SU-2024:0249-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1218845, 1218846
CVE References: CVE-2024-0408, CVE-2024-0409
Sources used:
Basesystem Module 15-SP5 (src): xorg-x11-server-21.1.4-150500.7.21.1
Development Tools Module 15-SP5 (src): xorg-x11-server-21.1.4-150500.7.21.1
openSUSE Leap 15.5 (src): xorg-x11-server-21.1.4-150500.7.21.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 10 OBSbugzilla Bot 2024-02-11 11:05:07 UTC
This is an autogenerated message for OBS integration:
This bug (1218845) was mentioned in
https://build.opensuse.org/request/show/1145978 Factory / xorg-x11-server
Comment 13 OBSbugzilla Bot 2024-02-12 10:45:11 UTC
This is an autogenerated message for OBS integration:
This bug (1218845) was mentioned in
https://build.opensuse.org/request/show/1146120 Factory / xorg-x11-server