Amazon Linux 2023:bpftool、kernel、kernel-devel (ALAS2023-2023-385)

high Nessus 插件 ID 183798

简介

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

描述

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

在 Linux 内核中,以下漏洞已修复:

ceph:卸载时丢弃来自 MDS 的消息 (CVE-2022-48628)

Linux 内核 netfilter: nf_tables 组件中存在一个释放后使用漏洞,攻击者可利用此漏洞实现本地特权提升。

由于 nf_tables netlink 控制平面事务和 nft_set 元素垃圾收集之间存在争用情形,引用计数器可能下溢,从而导致释放后使用漏洞。

我们建议升级过去的 commit 3e91b0ebd994635df2346353322ac51ce84ce6d8。(CVE-2023-4244)

在 Linux 内核 IPv4 堆栈中发现了一个空指针取消引用缺陷。在调用 __ip_options_compile 之前,假定套接字缓冲区 (skb) 与设备关联,但如果 skb 由 ipvs 重新路由,则 skb 可能未与设备关联。此问题可能允许具有 CAP_NET_ADMIN 权限的本地用户造成系统崩溃。(CVE-2023-42754)

在 Linux 内核的 Netfilter 子系统中发现了一个漏洞。IPSET_CMD_ADD 和 IPSET_CMD_SWAP 之间的竞争条件可能会由于在错误的“set”上调用“__ip_set_put”而造成内核错误。
本地用户可以利用此问题造成系统崩溃。(CVE-2023-42756)

Linux 内核 netfilter: nf_tables 组件中存在一个释放后使用漏洞,攻击者可利用此漏洞实现本地特权提升。

在同一交易内的链绑定中添加和删除规则会导致释放后使用。

我们建议升级过去的提交 f15f29fd4779be8a418b66e9d52979bb6d6c2325。(CVE-2023-5197)

在 Linux 内核中,以下漏洞已修复:

netfilter:nft_set_rbtree:跳过此事务中新元素的同步 GC

此事务中的新元素可能在此类事务结束之前过期。跳过此类元素的同步 GC,否则提交路径可能会遍历已释放的对象。事务完成后,异步 GC 会收集此类过期元素。(CVE-2023-52433)

在 Linux 内核中,以下漏洞已修复:

x86/srso:为 Hygon 处理器添加 SRSO 缓解方案 (CVE-2023-52482)

在 Linux 内核中,以下漏洞已修复:

ring-buffer:不要尝试读取过去的提交 (CVE-2023-52501)

在 Linux 内核中,以下漏洞已修复:

mm/slab_common:kmem_cache_destroy() 后修复 slab_caches 列表损坏 (CVE-2023-52562)

在 Linux 内核中,以下漏洞已修复:

serial: 8250_port:使用前检查 IRQ 数据 (CVE-2023-52567)

在 Linux 内核中,以下漏洞已修复:

btrfs:插入延迟的目录索引项目失败后删除 BUG() (CVE-2023-52569)

在 Linux 内核中,以下漏洞已修复:

cifs:修复 cifs_demultiplex_thread() 中的 UAF (CVE-2023-52572)

在 Linux 内核中,以下漏洞已修复:

net:rds:修复可能的空指针取消引用 (CVE-2023-52573)

在 Linux 内核中,以下漏洞已修复:

team:修复团队设备类型变更时的 null-ptr-deref (CVE-2023-52574)

在 Linux 内核中,以下漏洞已修复:

x86/mm、kexec、ima:使用 ima_free_kexec_buffer() 中的 memblock_free_late() (CVE-2023-52576)

在 Linux 内核中,以下漏洞已修复:

- net:bridge:使用 DEV_STATS_INC() (CVE-2023-52578)

在 Linux 内核中,以下漏洞已修复:

net/core:修复 ETH_P_1588 流分析器 (CVE-2023-52580)

在 Linux 内核中,以下漏洞已修复:

netfs:只为每个 folio 调用一次 folio_start_fscache() (CVE-2023-52582)

在 Linux 内核中,以下漏洞已修复:

netfilter:nf_tables:调整集合后端以使用 GC 事务 API (CVE-2023-52923)

在 Linux 内核中,以下漏洞已修复:

netfilter:nf_tables:walk 期间不跳过已到期的元素 (CVE-2023-52924)

Linux 内核 fs/smb/client 组件中存在一个释放后使用漏洞,攻击者可利用此漏洞实现本地权限升级。

如果 smb3_fs_context_parse_param 中出现错误,ctx->password 就会被释放,但该字段并未设置为 NULL,因而可能会导致双重释放。

我们建议升级过去的提交 e6e43b8aa7cd3c3af686caf0c2e11819a886d705。(CVE-2023-5345)

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

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

解决方案

运行“dnf update kernel --releasever 2023.2.20231018”以更新系统。

另见

https://alas.aws.amazon.com/AL2023/ALAS-2023-385.html

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

https://alas.aws.amazon.com/cve/html/CVE-2022-48628.html

https://alas.aws.amazon.com/cve/html/CVE-2023-4244.html

https://alas.aws.amazon.com/cve/html/CVE-2023-5197.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52433.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52482.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52501.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52562.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52567.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52569.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52572.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52573.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52574.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52576.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52578.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52580.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52582.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52923.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52924.html

https://alas.aws.amazon.com/cve/html/CVE-2023-5345.html

https://alas.aws.amazon.com/cve/html/CVE-2023-42754.html

https://alas.aws.amazon.com/cve/html/CVE-2023-42756.html

插件详情

严重性: High

ID: 183798

文件名: al2023_ALAS2023-2023-385.nasl

版本: 1.10

类型: local

代理: unix

发布时间: 2023/10/24

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

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5.3

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

CVSS 分数来源: CVE-2023-5345

CVSS v3

风险因素: High

基本分数: 7.8

时间分数: 7

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

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

漏洞信息

CPE: p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-modules-extra, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:python3-perf, p-cpe:/a:amazon:linux:kernel-libbpf-static, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:kernel-livepatch-6.1.56-82.125, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:python3-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2023/10/12

漏洞发布日期: 2023/9/6

参考资料信息

CVE: CVE-2022-48628, CVE-2023-4244, CVE-2023-42754, CVE-2023-42756, CVE-2023-5197, CVE-2023-52433, CVE-2023-52482, CVE-2023-52501, CVE-2023-52562, CVE-2023-52567, CVE-2023-52569, CVE-2023-52572, CVE-2023-52573, CVE-2023-52574, CVE-2023-52576, CVE-2023-52578, CVE-2023-52580, CVE-2023-52582, CVE-2023-52923, CVE-2023-52924, CVE-2023-5345