Debian DLA-3416-1:emacs - LTS 安全性更新

critical Nessus Plugin ID 175551

概要

遠端 Debian 主機上缺少一個或多個安全性更新。

說明

遠端 Debian 10 主機上安裝的多個套件受到 dla-3416 公告中提及的多個弱點影響。

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

- 在 GNU Emacs 28.2 及之前版本中發現一個問題。htmlfontify.el 有一個命令插入弱點。
在 hfy-istext-command 函式中,參數檔案和參數 srcdir 來自外部輸入,且參數不會逸出。如果檔案名稱或目錄名稱包含 shell 中繼字元,則可能會執行程式碼。(CVE-2022-48339)

- org-babel-execute:在 GNU Emacs 的 Org Mode 9.6.1 以及之前所有版本中,ob-latex.el 中的 latex 允許攻擊者透過包含 shell 中繼字元的檔案名稱或目錄名稱執行任意命令。(CVE-2023-28617)

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

解決方案

升級受影響的 emacs 套件。

針對 Debian 10 buster,已在版本 1 中修正這些問題

另請參閱

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

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

https://www.debian.org/lts/security/2023/dla-3416

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

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

https://security-tracker.debian.org/tracker/CVE-2023-28617

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

Plugin 詳細資訊

嚴重性: Critical

ID: 175551

檔案名稱: debian_DLA-3416.nasl

版本: 1.0

類型: local

代理程式: unix

已發布: 2023/5/13

已更新: 2023/5/13

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Critical

基本分數: 10

時間分數: 7.4

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

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

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 8.5

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

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:emacs24-nox, p-cpe:/a:debian:debian_linux:emacs-el, p-cpe:/a:debian:debian_linux:emacs, p-cpe:/a:debian:debian_linux:emacs-gtk, p-cpe:/a:debian:debian_linux:emacs21, p-cpe:/a:debian:debian_linux:emacs23-nox, p-cpe:/a:debian:debian_linux:emacs25-lucid, p-cpe:/a:debian:debian_linux:emacs21-nox, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:emacs-bin-common, p-cpe:/a:debian:debian_linux:emacs-common, p-cpe:/a:debian:debian_linux:emacs-lucid, p-cpe:/a:debian:debian_linux:emacs-nox, p-cpe:/a:debian:debian_linux:emacs22-nox, p-cpe:/a:debian:debian_linux:emacs23, p-cpe:/a:debian:debian_linux:emacs23-lucid, p-cpe:/a:debian:debian_linux:emacs25, p-cpe:/a:debian:debian_linux:emacs22, p-cpe:/a:debian:debian_linux:emacs24, p-cpe:/a:debian:debian_linux:emacs24-lucid, p-cpe:/a:debian:debian_linux:emacs25-nox, p-cpe:/a:debian:debian_linux:emacs22-gtk

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2023/5/10

弱點發布日期: 2023/2/20

參考資訊

CVE: CVE-2022-48337, CVE-2022-48339, CVE-2023-28617