Debian DSA-5314-1:emacs - 安全性更新

high Nessus Plugin ID 169946

概要

遠端 Debian 主機缺少安全性相關更新。

說明

遠端 Debian 11 主機上安裝的多個套件受 dsa-5314 公告中提及的弱點影響。

- GNU Emacs 28.2 及其之前版本允許攻擊者透過原始程式碼檔案名稱中的 shell 元字元執行命令,這是因為 lib-src/etags.c 在其 ctags 程式的實作中使用系統的 C 程式庫函式。例如,當前工作目錄中若有內容依賴未受信任的輸入,則受害者可以使用 ctags * 命令 (在 ctags 文件中建議)。
(CVE-2022-45939)

請注意,Nessus 並未測試此問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

升級受影響的 emacs 套件。

針對穩定的發行版本 (bullseye),此問題已在版本 1 中修正

另請參閱

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025009

https://security-tracker.debian.org/tracker/source-package/emacs

https://www.debian.org/security/2023/dsa-5314

https://security-tracker.debian.org/tracker/CVE-2022-45939

https://packages.debian.org/source/bullseye/emacs

Plugin 詳細資訊

嚴重性: High

ID: 169946

檔案名稱: debian_DSA-5314.nasl

版本: 1.0

類型: local

代理程式: unix

已發布: 2023/1/12

已更新: 2023/1/12

支援的感應器: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.2

時間分數: 5.3

媒介: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS 評分資料來源: CVE-2022-45939

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 6.8

媒介: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:U/RL:O/RC:C

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:emacs, p-cpe:/a:debian:debian_linux:emacs-bin-common, p-cpe:/a:debian:debian_linux:emacs-common, p-cpe:/a:debian:debian_linux:emacs-el, p-cpe:/a:debian:debian_linux:emacs-gtk, p-cpe:/a:debian:debian_linux:emacs-lucid, p-cpe:/a:debian:debian_linux:emacs-nox, cpe:/o:debian:debian_linux:11.0

必要的 KB 項目: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2023/1/11

弱點發布日期: 2022/11/28

參考資訊

CVE: CVE-2022-45939