RHEL 8:python39: 3.9 (RHSA-2022: 8492)

high Nessus Plugin ID 167741

概要

遠端 Red Hat 主機缺少安全性更新。

說明

遠端 Redhat Enterprise Linux 8 主機上安裝的多個套件受到 RHSA-2022: 8492 公告中提及的一個弱點影響。

- Linux 主機上 3.9.16 之前的 Python 3.9.x 版和 3.10.9 之前的 3.10.x 版允許使用者在非預設組態中提升本機權限。在 Linux 上與 forkserver 啟動方法結合使用時,Python 多處理庫允許從同一計算機中本機網路命名空間中的任何使用者還原序列化 pickles,這在許多系統組態中是指同一計算機上的任何使用者。Pickles 可執行任意程式碼。
因此,這允許將本機使用者權限提升為執行任何 forkserver 處理程序的使用者。將 multiprocessing.util.abstract_sockets_supported 設為 False 是一種因應措施。用於多重處理的 forkserver 啟動方法不是預設的啟動方法。此問題是 Linux 系統所特有,因為只有 Linux 支援抽象命名空間通訊端。 3.9 版之前的 CPython 預設為不使用 Linux 抽象命名空間通訊端。在 3.7.8 和 3.8.3 版中,新增了對使用者手動指定抽象命名空間通訊端的支援,但在 3.9 之前的 CPython 中,使用者需要進行特定的非常見 API 呼叫才能做到這樣。(CVE-2022-42919)

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

解決方案

更新受影響的套件。

另請參閱

https://access.redhat.com/errata/RHSA-2022:8492

https://access.redhat.com/security/cve/CVE-2022-42919

Plugin 詳細資訊

嚴重性: High

ID: 167741

檔案名稱: redhat-RHSA-2022-8492.nasl

版本: 1.8

類型: local

代理程式: unix

已發布: 2022/11/16

已更新: 2023/5/25

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

風險資訊

VPR

風險因素: High

分數: 7.4

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5

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

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

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 6.8

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

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

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:python39-pycparser, p-cpe:/a:redhat:enterprise_linux:python39-pysocks, p-cpe:/a:redhat:enterprise_linux:python39-pyyaml, p-cpe:/a:redhat:enterprise_linux:python39-requests, p-cpe:/a:redhat:enterprise_linux:python39-rpm-macros, p-cpe:/a:redhat:enterprise_linux:python39-scipy, p-cpe:/a:redhat:enterprise_linux:python39-setuptools, p-cpe:/a:redhat:enterprise_linux:python39-setuptools-wheel, p-cpe:/a:redhat:enterprise_linux:python39-six, p-cpe:/a:redhat:enterprise_linux:python39-test, p-cpe:/a:redhat:enterprise_linux:python39-tkinter, p-cpe:/a:redhat:enterprise_linux:python39-toml, p-cpe:/a:redhat:enterprise_linux:python39-urllib3, p-cpe:/a:redhat:enterprise_linux:python39-wheel, p-cpe:/a:redhat:enterprise_linux:python39-wheel-wheel, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:rhel_aus:8.4, cpe:/o:redhat:rhel_aus:8.6, cpe:/o:redhat:rhel_e4s:8.4, cpe:/o:redhat:rhel_e4s:8.6, cpe:/o:redhat:rhel_eus:8.4, cpe:/o:redhat:rhel_eus:8.6, cpe:/o:redhat:rhel_tus:8.4, cpe:/o:redhat:rhel_tus:8.6, p-cpe:/a:redhat:enterprise_linux:python39, p-cpe:/a:redhat:enterprise_linux:python39-pymysql, p-cpe:/a:redhat:enterprise_linux:python39-cffi, p-cpe:/a:redhat:enterprise_linux:python39-chardet, p-cpe:/a:redhat:enterprise_linux:python39-cryptography, p-cpe:/a:redhat:enterprise_linux:python39-devel, p-cpe:/a:redhat:enterprise_linux:python39-idle, p-cpe:/a:redhat:enterprise_linux:python39-idna, p-cpe:/a:redhat:enterprise_linux:python39-libs, p-cpe:/a:redhat:enterprise_linux:python39-lxml, p-cpe:/a:redhat:enterprise_linux:python39-mod_wsgi, p-cpe:/a:redhat:enterprise_linux:python39-numpy, p-cpe:/a:redhat:enterprise_linux:python39-numpy-doc, p-cpe:/a:redhat:enterprise_linux:python39-numpy-f2py, p-cpe:/a:redhat:enterprise_linux:python39-pip, p-cpe:/a:redhat:enterprise_linux:python39-pip-wheel, p-cpe:/a:redhat:enterprise_linux:python39-ply, p-cpe:/a:redhat:enterprise_linux:python39-psutil, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2-doc, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2-tests

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2022/11/16

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

參考資訊

CVE: CVE-2022-42919

CWE: 269

IAVA: 2022-A-0467-S, 2023-A-0061-S

RHSA: 2022:8492