Amazon Linux 2023:xorg-x11-server-common、xorg-x11-server-devel、xorg-x11-server-source (ALAS2023-2025-892)

high Nessus 插件 ID 233585

简介

远程 Amazon Linux 2023 主机缺少安全更新。

描述

因此,该软件受到 ALAS2023-2025-892 公告中提及的多个漏洞影响。

在 X.Org 和 Xwayland 中发现一个释放后使用缺陷。根光标在 X 服务器中作为全局变量被引用。如果客户端释放根光标,则内部引用指向已释放的内存并导致释放后使用。(CVE-2025-26594)

在 X.Org 和 Xwayland 中发现缓冲区溢出缺陷。XkbVModMaskText() 中的代码会在堆栈上分配一个固定大小的缓冲区,并将虚拟修饰符的名称复制到该缓冲区。该代码未对缓冲区边界进行检查,且会无视数据大小直接复制数据。(CVE-2025-26595)

在 X.Org 和 Xwayland 中发现堆溢出缺陷。XkbSizeKeySyms() 中的长度计算与 XkbWriteKeySyms() 中写入的长度不同,这可能导致基于堆的缓冲区溢出。
(CVE-2025-26596)

在 X.Org 和 Xwayland 中发现缓冲区溢出缺陷。若调用 XkbChangeTypesOfKey() 时传入组 0,该函数会将键符号表的大小调整为 0,但保持按键动作不变。若后续调用该函数时传入非零的群组值,由于按键动作的尺寸错误,将导致缓冲区溢出。(CVE-2025-26597)

在 X.Org 和 Xwayland 中发现一个越界写入缺陷。函数 GetBarrierDevice() 根据设备 ID 搜索指针设备,并返回匹配值;如果未找到匹配项,则返回 NULL。但是,如果未找到匹配的设备 ID,代码将返回列表的最后一个元素,这可能导致越界内存访问。(CVE-2025-26598)

在 X.Org 和 Xwayland 中发现对未初始化指针的访问缺陷。若无法分配后备 pixmap,函数 compCheckRedirect() 可能会失败。在这种情况下,compRedirectWindow() 将返回 BadAlloc 错误,而不验证之前标记的窗口树,这会导致验证的数据部分初始化,并且稍后使用未初始化的指针。(CVE-2025-26599)

在 X.Org 和 Xwayland 中发现一个释放后使用缺陷。若设备在仍处于冻结状态时被移除,即使设备资源已被释放,该设备队列中的事件仍会保留。重播事件将导致释放后使用。(CVE-2025-26600)

在 X.Org 和 Xwayland 中发现一个释放后使用缺陷。更改警报时,将依次评估更改掩码的值,根据请求更改触发值,最终调用 SyncInitTrigger()。如果其中一个更改触发错误,则该函数将提前返回,而不会添加新的同步对象,这可能会导致警报最终触发时出现释放后使用的情况。
(CVE-2025-26601)

Tenable 已直接从测试产品的安全公告中提取上述描述块。

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

运行“dnf update xorg-x11-server --releasever 2023.6.20250303”以更新系统。

另见

https://alas.aws.amazon.com/AL2023/ALAS-2025-892.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26594.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26595.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26596.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26597.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26598.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26599.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26600.html

https://alas.aws.amazon.com/cve/html/CVE-2025-26601.html

https://alas.aws.amazon.com/faqs.html

插件详情

严重性: High

ID: 233585

文件名: al2023_ALAS2023-2025-892.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/3/31

最近更新时间: 2025/3/31

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5

矢量: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS 分数来源: CVE-2025-26601

CVSS v3

风险因素: High

基本分数: 7.8

时间分数: 6.8

矢量: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: p-cpe:/a:amazon:linux:xorg-x11-server-xephyr, p-cpe:/a:amazon:linux:xorg-x11-server-xvfb-debuginfo, p-cpe:/a:amazon:linux:xorg-x11-server-debuginfo, p-cpe:/a:amazon:linux:xorg-x11-server-xephyr-debuginfo, p-cpe:/a:amazon:linux:xorg-x11-server-common, p-cpe:/a:amazon:linux:xorg-x11-server-devel, p-cpe:/a:amazon:linux:xorg-x11-server-xnest-debuginfo, p-cpe:/a:amazon:linux:xorg-x11-server-source, p-cpe:/a:amazon:linux:xorg-x11-server-debugsource, p-cpe:/a:amazon:linux:xorg-x11-server-xvfb, p-cpe:/a:amazon:linux:xorg-x11-server-xnest, p-cpe:/a:amazon:linux:xorg-x11-server-xorg, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:xorg-x11-server-xorg-debuginfo

必需的 KB 项: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

易利用性: No known exploits are available

补丁发布日期: 2025/3/6

漏洞发布日期: 2025/2/18

参考资料信息

CVE: CVE-2025-26594, CVE-2025-26595, CVE-2025-26596, CVE-2025-26597, CVE-2025-26598, CVE-2025-26599, CVE-2025-26600, CVE-2025-26601