中危 gnu emacs os命令中使用的特殊元素转义处理不恰当(os命令注入)

CVE编号

CVE-2022-45939

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-11-28
漏洞描述
GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gnu emacs * Up to
(including)
28.2
运行在以下环境
系统 alma_linux_8 emacs * Up to
(excluding)
26.1-9.el8
运行在以下环境
系统 alma_linux_9 emacs * Up to
(excluding)
27.2-8.el9
运行在以下环境
系统 alpine_3.17 emacs * Up to
(excluding)
28.2-r1
运行在以下环境
系统 alpine_3.18 emacs * Up to
(excluding)
28.2-r3
运行在以下环境
系统 alpine_3.19 emacs * Up to
(excluding)
28.2-r3
运行在以下环境
系统 amazon_2 emacs * Up to
(excluding)
27.2-4.amzn2.0.2
运行在以下环境
系统 amazon_2022 emacs * Up to
(excluding)
28.1-2.amzn2022.0.1
运行在以下环境
系统 amazon_2023 emacs * Up to
(excluding)
28.2-3.amzn2023.0.3
运行在以下环境
系统 amazon_AMI emacs * Up to
(excluding)
24.3-20.25.amzn1
运行在以下环境
系统 anolis_os_23 emacs * Up to
(excluding)
29.1-1
运行在以下环境
系统 debian_12 emacs * Up to
(excluding)
28.2+1-8
运行在以下环境
系统 fedora_36 emacs * Up to
(excluding)
28.2-1.fc36
运行在以下环境
系统 fedora_37 emacs * Up to
(excluding)
28.2-1.fc37
运行在以下环境
系统 fedora_38 emacs * Up to
(excluding)
28.2-1.fc38
运行在以下环境
系统 kylinos_aarch64_V10SP1 emacs * Up to
(excluding)
26.1-13.p02.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 emacs * Up to
(excluding)
27.1-4.p01.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP3 emacs * Up to
(excluding)
27.1-6.p02.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 emacs * Up to
(excluding)
26.1-13.p02.a.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP3 emacs * Up to
(excluding)
27.1-6.p03.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 emacs * Up to
(excluding)
26.1-13.p02.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 emacs * Up to
(excluding)
27.1-4.p01.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP3 emacs * Up to
(excluding)
27.1-6.p02.ky10
运行在以下环境
系统 opensuse_Leap_15.3 etags * Up to
(excluding)
25.3-150000.3.12.1
运行在以下环境
系统 opensuse_Leap_15.4 etags * Up to
(excluding)
27.2-150400.3.3.1
运行在以下环境
系统 oracle_8 emacs * Up to
(excluding)
26.1-9.el8
运行在以下环境
系统 oracle_9 emacs * Up to
(excluding)
27.2-8.el9
运行在以下环境
系统 redhat_8 emacs * Up to
(excluding)
26.1-9.el8
运行在以下环境
系统 redhat_9 emacs * Up to
(excluding)
27.2-8.el9
运行在以下环境
系统 suse_12_SP5 emacs * Up to
(excluding)
24.3-25.9.1
阿里云评分
6.5
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-78 OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
阿里云安全产品覆盖情况