SB2023053015 - Gentoo update for X.Org X server, XWayland



SB2023053015 - Gentoo update for X.Org X server, XWayland

Published: May 30, 2023

Security Bulletin ID SB2023053015
Severity
Low
Patch available
YES
Number of vulnerabilities 15
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 15 secuirty vulnerabilities.


1) Out-of-bounds write (CVE-ID: CVE-2021-4008)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in the SProcRenderCompositeGlyphs() function in the Render extension. A local user can send a specially crafted CompositeGlyphs request, trigger an out-of-bounds write and execute arbitrary code with elevated privileges.


2) Out-of-bounds write (CVE-ID: CVE-2021-4009)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in the ProcXFixesCreatePointerBarrier() function in the XFixes extension. A local user can send a specially crafted CreatePointerBarrier request, trigger an out-of-bounds write and execute arbitrary code with elevated privileges.


3) Out-of-bounds write (CVE-ID: CVE-2021-4010)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in the SProcScreenSaverSuspend() function in the Screen Saver extension. A local user can send a specially crafted Suspend request, trigger an out-of-bounds write and execute arbitrary code with elevated privileges.


4) Out-of-bounds write (CVE-ID: CVE-2021-4011)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in the SwapCreateRegister() function in the Record extension. A local user can send a specially crafted RecordCreateContext and RecordRegisterClients requests, trigger an out-of-bounds write and execute arbitrary code with elevated privileges.


5) Buffer overflow (CVE-ID: CVE-2022-3550)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error within the _GetCountedString() function in xkb/xkb.c. A local user can trigger memory corruption and execute arbitrary code with elevated privileges.


6) Memory leak (CVE-ID: CVE-2022-3551)

The vulnerability allows a local user to perform DoS attack on the target system.

The vulnerability exists due memory leak within the ProcXkbGetKbdByName() function in xkb/xkb.c. A local user can force the application to leak memory and perform denial of service attack.


7) Memory leak (CVE-ID: CVE-2022-3553)

The vulnerability allows a local user to perform DoS attack on the target system.

The vulnerability exists due memory leak within the xquartz component in hw/xquartz/X11Controller.m. A local user can force the application to leak memory and perform denial of service attack.


8) Use-after-free (CVE-ID: CVE-2022-4283)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error when handling XkbCopyNames requests. A local user can trigger a use-after-free error and execute arbitrary code with elevated privileges.

9) Stack-based buffer overflow (CVE-ID: CVE-2022-46340)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error  within the swap handler for the XTestFakeInput request of the XTest extension if GenericEvents with lengths larger than 32 bytes are sent through a the XTestFakeInput request. A local user can trigger a stack-based buffer overflow and execute arbitrary code with elevated privileges.



10) Out-of-bounds read (CVE-ID: CVE-2022-46341)

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when handling XIPassiveUngrab requests. A local user can trigger an out-of-bounds read error and read contents of memory on the system.


11) Use-after-free (CVE-ID: CVE-2022-46342)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error when handling XvdiSelectVideoNotify requests. A local user can trigger a use-after-free error and execute arbitrary code with elevated privileges.



12) Use-after-free (CVE-ID: CVE-2022-46343)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error when handling ScreenSaverSetAttributes requests. A local user can trigger a use-after-free error and execute arbitrary code with elevated privileges.




13) Out-of-bounds read (CVE-ID: CVE-2022-46344)

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when handling XIChangeProperty requests. A local user can trigger an out-of-bounds read error and read contents of memory on the system.


14) Use-after-free (CVE-ID: CVE-2023-0494)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within DeepCopyPointerClasses. A local user can trigger a use-after-free error and execute arbitrary code with elevated privileges.


15) Use-after-free (CVE-ID: CVE-2023-1393)

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error when processing deletion of a compositor overlay window. A local user can trigger a use-after-free error and execute arbitrary code on the system.



Remediation

Install update from vendor's website.