Bug 2213748 (CVE-2023-3138)
Summary: | CVE-2023-3138 libX11: InitExt.c can overwrite unintended portions of the Display structure if the extension request leads to a buffer overflow | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Marian Rehak <mrehak> |
Component: | vulnerability | Assignee: | Nobody <nobody> |
Status: | NEW --- | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | ajax, ndegraef |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libX11 1.8.6 | Doc Type: | If docs needed, set a value |
Doc Text: |
A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in libX11 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. They trust that they were called with values provided by an Xserver adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself, possibly causing the client to crash with this memory corruption.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2213762, 2213763, 2215372 | ||
Bug Blocks: | 2213123 |
Description
Marian Rehak
2023-06-09 07:04:56 UTC
Created libX11 tracking bugs for this issue: Affects: fedora-all [bug 2215372] (In reply to Marian Rehak from comment #0) > This is fixed in: > https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/TBD > which is included in the libX11 1.8.6 release issued today. Probably that link/commit should be https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/304a654a0d57bf0f00d8998185f0360332cfa36c This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2023:6497 https://access.redhat.com/errata/RHSA-2023:6497 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2023:7029 https://access.redhat.com/errata/RHSA-2023:7029 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Extended Update Support Via RHSA-2024:1088 https://access.redhat.com/errata/RHSA-2024:1088 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:1417 https://access.redhat.com/errata/RHSA-2024:1417 |