CVE-2023-5367 Xorg-x11-server: out-of-bounds write in xichangedeviceproperty/rrchangeoutputproperty

High 7.8 Published Updated

An out-of-bounds write in the Xorg X11 server allows attackers to escalate privileges or cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-5367?

CVE-2023-5367 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 25 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A out-of-bounds write flaw was found in the xorg-x11-server. This issue occurs due to an incorrect calculation of a buffer offset when copying data stored in the heap in the XIChangeDeviceProperty function in Xi/xiproperty.c and in RRChangeOutputProperty function in randr/rrproperty.c, allowing for possible escalation of privileges or denial of service.

Weakness: CWE-787

Which versions are affected by CVE-2023-5367?

It affects 12 products.

Linux distribution packages (40)
xorg-x11-server Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xdmx Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xephyr Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xnest Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xorg Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xvfb Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xwayland Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-common Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-devel Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server-source Red Hat:enterprise_linux:7::clientAll versions0:1.20.4-24.el7_9
xorg-x11-server Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xdmx Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xephyr Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xnest Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xorg Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xvfb Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xwayland Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-common Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-devel Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server-source Red Hat:enterprise_linux:7::computenodeAll versions0:1.20.4-24.el7_9
xorg-x11-server Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xdmx Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xephyr Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xnest Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xorg Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xvfb Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xwayland Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-common Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-devel Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server-source Red Hat:enterprise_linux:7::serverAll versions0:1.20.4-24.el7_9
xorg-x11-server Red Hat:enterprise_linux:7::workstationAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xdmx Red Hat:enterprise_linux:7::workstationAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xephyr Red Hat:enterprise_linux:7::workstationAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xnest Red Hat:enterprise_linux:7::workstationAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xorg Red Hat:enterprise_linux:7::workstationAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xvfb Red Hat:enterprise_linux:7::workstationAll versions0:1.20.4-24.el7_9
xorg-x11-server-Xwayland Red Hat:enterprise_linux:7::workstationAll versions0:1.20.4-24.el7_9

Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux for Ibm Z Systems, Redhat Enterprise Linux for Power Big Endian and 6 more.

How do I fix CVE-2023-5367?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-5367 being exploited?

There is no known exploitation of CVE-2023-5367 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-31720, AZL-44724, BELL-CVE-2023-5367, DEBIAN-CVE-2023-5367, GHSA-q38f-wwqq-rr3v, RHSA-2023:6802 and 9 more.

Is CVE-2023-5367 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free