KnowSafe 安全预警:KnowSafe 安全团队监测到编号 AVD-2021-23240 的安全漏洞(危害等级:高危)已公开披露,相关用户应尽快排查并完成修复。
漏洞介绍
selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.
影响范围
应用:sudo_project sudo(影响面 Up to (excluding) 1.9.5)
系统:alibaba_cloud_linux_3 sudo(影响面 Up to (excluding) 1.8.29-7.1.al8)
系统:alpine_3.10 sudo(影响面 Up to (excluding) 1.9.5p2-r0)
系统:alpine_3.11 sudo(影响面 Up to (excluding) 1.9.5p2-r0)
系统:alpine_3.12 sudo(影响面 Up to (excluding) 1.9.5-r0)
系统:alpine_3.13 sudo(影响面 Up to (excluding) 1.9.5-r0)
系统:alpine_3.14 sudo(影响面 Up to (excluding) 1.9.5-r0)
系统:alpine_3.15 sudo(影响面 Up to (excluding) 1.9.5-r0)
……另有 14 项受影响环境,详见官方公告
解决方案
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考信息
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23240
KnowSafe 将持续跟踪该漏洞的利用情况与修复进展,如需漏洞管理与应急响应支持,欢迎联系 KnowSafe 安全团队。