Debian dla-3939:python-git-doc - 安全性更新

critical Nessus Plugin ID 209877

概要

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

說明

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

------------------------------------------------------------------------- Debian LTS 公告 DLA-3939-1 [email protected] https://www.debian.org/lts/security/Daniel Leidert 2024 年 10 月 29 日https://wiki.debian.org/LTS-------------------------------------------------------------------------

套件:python-git 版本:3.1.14-1+deb11u1 CVE ID: CVE-2022-24439 CVE-2023-40267 CVE-2023-41040 Debian 錯誤:1027163 1043503

GitPython 提供 Git 存放庫的物件模型存取權。

CVE-2022-24439、CVE-2023-40267 (後續追蹤)

- 可能會因使用者輸入驗證不當而出現遠端程式碼執行 (RCE) 情形,攻擊者可藉此將惡意特製的遠端 URL 插入複製命令中。此弱點可能遭到惡意利用,這是因為程式庫會在未充分清理輸入引數的情況下,對 git 進行外部呼叫。

CVE-2023-41040

GitPython 會從「.git」目錄讀取檔案,在某些情況下,讀取的檔案名稱是由使用者提供,GitPython 不會檢查此檔案是否位於「.git」目錄之外的目錄。
這會允許攻擊者使 GitPython 從系統讀取任何檔案。

針對 Debian 11 bullseye,已在 3.1.14-1+deb11u1 版本中修正這些問題。

建議您升級 python-git 套件。

如需 python-git 的詳細安全性狀態,請參閱其安全追蹤頁面:
https://security-tracker.debian.org/tracker/python-git

有關 Debian LTS 安全公告、如何將這些更新套用至您的系統以及常見問題的詳細資訊,請參閱:https://wiki.debian.org/LTS



附件:
signature.asc 描述:這是經數位簽署的訊息部分

Tenable 已直接從 Debian 安全公告擷取前置描述區塊。

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

解決方案

升級 python-git-doc 套件。

另請參閱

https://security-tracker.debian.org/tracker/source-package/python-git

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

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

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

https://packages.debian.org/source/bullseye/python-git

Plugin 詳細資訊

嚴重性: Critical

ID: 209877

檔案名稱: debian_DLA-3939.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2024/10/29

已更新: 2024/10/29

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Critical

基本分數: 10

時間性分數: 7.8

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

CVSS 評分資料來源: CVE-2023-40267

CVSS v3

風險因素: Critical

基本分數: 9.8

時間性分數: 8.8

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

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

弱點資訊

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:python-git-doc, p-cpe:/a:debian:debian_linux:python3-git

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2024/10/29

弱點發布日期: 2022/12/6

參考資訊

CVE: CVE-2022-24439, CVE-2023-40267, CVE-2023-41040