Bug 1216135 (CVE-2023-5367) - VUL-0: CVE-2023-5367: xorg-x11-server,xwayland,libXrandr,xorg-x11-libXrandr: fix handling of PropModeAppend/Prepend
Summary: VUL-0: CVE-2023-5367: xorg-x11-server,xwayland,libXrandr,xorg-x11-libXrandr: ...
Status: IN_PROGRESS
: 1216132 (view as bug list)
Alias: CVE-2023-5367
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/381552/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-5367:7.8:(AV:L...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 12:21 UTC by Marcus Meissner
Modified: 2024-03-26 07:54 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 3 Marcus Meissner 2023-10-12 06:54:21 UTC
*** Bug 1216132 has been marked as a duplicate of this bug. ***
Comment 11 Marcus Meissner 2023-10-25 07:17:16 UTC
is public

https://lists.x.org/archives/xorg-announce/2023-October/003430.html

1) CVE-2023-5367 X.Org server: OOB write in XIChangeDeviceProperty/RRChangeOutputProperty

Introduced in: xorg-server-1.7.0 (2009) and xorg-server-1.4.0 (2007), respectively
Fixed in: xorg-server-21.1.9 and xwayland-23.2.2
Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative
Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/541ab2ecd41d4d8689e71855d93e492bc554719a

When prepending values to an existing property an invalid offset calculation
causes the existing values to be appended at the wrong offset. The resulting
memcpy() would write into memory outside the heap-allocated array.

For example, prepending 3 values to an existing 5 value property results in
an allocated array of size 8, but the existing 5 values would be written at
indices 5 through to 10. Indices 3 and 4 were left uninitialized, but due to a
separate bug the resulting property only had a client-visible length of 3
values and the uninitialized memory data was never visibile to the client.

xorg-server-21.1.9 and xwayland-23.2.2 have been patched to fix the offset
calculation and the length calculation of the property.
Comment 14 Maintenance Automation 2023-10-30 20:30:09 UTC
SUSE-SU-2023:4272-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1216133, 1216135, 1216261
CVE References: CVE-2023-5367, CVE-2023-5380, CVE-2023-5574
Sources used:
openSUSE Leap 15.5 (src): xorg-x11-server-21.1.4-150500.7.7.1
Basesystem Module 15-SP5 (src): xorg-x11-server-21.1.4-150500.7.7.1
Development Tools Module 15-SP5 (src): xorg-x11-server-21.1.4-150500.7.7.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 15 Maintenance Automation 2023-10-30 20:30:27 UTC
SUSE-SU-2023:4269-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1216133, 1216135, 1216261
CVE References: CVE-2023-5367, CVE-2023-5380, CVE-2023-5574
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): xorg-x11-server-1.19.6-10.56.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): xorg-x11-server-1.19.6-10.56.1
SUSE Linux Enterprise Server 12 SP5 (src): xorg-x11-server-1.19.6-10.56.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): xorg-x11-server-1.19.6-10.56.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 16 Maintenance Automation 2023-10-31 12:30:10 UTC
SUSE-SU-2023:4306-1: An update that solves two vulnerabilities can now be installed.

Category: security (important)
Bug References: 1216135, 1216261
CVE References: CVE-2023-5367, CVE-2023-5574
Sources used:
openSUSE Leap 15.5 (src): xwayland-22.1.5-150500.7.5.1
SUSE Linux Enterprise Workstation Extension 15 SP5 (src): xwayland-22.1.5-150500.7.5.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 17 Maintenance Automation 2023-10-31 12:30:32 UTC
SUSE-SU-2023:4293-1: An update that solves two vulnerabilities can now be installed.

Category: security (important)
Bug References: 1216135, 1216261
CVE References: CVE-2023-5367, CVE-2023-5574
Sources used:
openSUSE Leap 15.4 (src): xwayland-21.1.4-150400.3.20.1
SUSE Linux Enterprise Workstation Extension 15 SP4 (src): xwayland-21.1.4-150400.3.20.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 18 Maintenance Automation 2023-10-31 12:30:37 UTC
SUSE-SU-2023:4292-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1216133, 1216135, 1216261
CVE References: CVE-2023-5367, CVE-2023-5380, CVE-2023-5574
Sources used:
openSUSE Leap 15.4 (src): xorg-x11-server-1.20.3-150400.38.29.1
Basesystem Module 15-SP4 (src): xorg-x11-server-1.20.3-150400.38.29.1
Development Tools Module 15-SP4 (src): xorg-x11-server-1.20.3-150400.38.29.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 19 Maintenance Automation 2023-11-02 12:30:15 UTC
SUSE-SU-2023:4338-1: An update that solves three vulnerabilities can now be installed.

Category: security (important)
Bug References: 1216133, 1216135, 1216261
CVE References: CVE-2023-5367, CVE-2023-5380, CVE-2023-5574
Sources used:
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Manager Proxy 4.2 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Manager Retail Branch Server 4.2 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Manager Server 4.2 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise Workstation Extension 15 SP4 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise Workstation Extension 15 SP5 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Enterprise Storage 7.1 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
openSUSE Leap 15.4 (src): xorg-x11-server-1.20.3-150200.22.5.79.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): xorg-x11-server-1.20.3-150200.22.5.79.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 20 OBSbugzilla Bot 2023-11-24 11:35:05 UTC
This is an autogenerated message for OBS integration:
This bug (1216135) was mentioned in
https://build.opensuse.org/request/show/1128531 Factory / xwayland
Comment 29 OBSbugzilla Bot 2024-02-11 11:05:06 UTC
This is an autogenerated message for OBS integration:
This bug (1216135) was mentioned in
https://build.opensuse.org/request/show/1145978 Factory / xorg-x11-server
Comment 32 OBSbugzilla Bot 2024-02-12 10:45:06 UTC
This is an autogenerated message for OBS integration:
This bug (1216135) was mentioned in
https://build.opensuse.org/request/show/1146120 Factory / xorg-x11-server