RHEL 8 : python27:2.7 (RHSA-2021:4151)

high Nessus Plugin ID 155151

概要

遠端 Red Hat 主機缺少一個或多個 python27:2.7 安全性更新。

說明

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

Python 是經過解譯的互動式物件導向程式設計語言,包括模組、類別、例外狀況、非常高階的動態資料類型,以及動態輸入。Python 支援許多系統呼叫和程式庫的介面,以及多種 Window 系統的介面。

安全性修正:

* python在測試套件中對透過 HTTP 擷取的資料不安全地使用 eval() (CVE-2020-27619)

* python-jinja2urlize 篩選器中的 ReDoS 弱點 (CVE-2020-28493)

* python-babel相對路徑遊走允許攻擊者載入任意地區設定檔案及執行任意程式碼 (CVE-2021-20095、 CVE-2021-42771)

* python-pygmentsSML lexer 中的無限迴圈可能導致 DoS (CVE-2021-20270)

* python在查詢參數中使用分號進而造成 urllib.parse.parse_qsl 和 urllib.parse.parse_qs 的 Web 快取毒害 (CVE-2021-23336)

* python-pygments多個 lexer 中的 ReDoS (CVE-2021-27291)

* python-lxmlformaction HTML5 屬性的遺漏輸入清理可能導致 XSS (CVE-2021-28957)

如需安全性問題的詳細資料,包括影響、CVSS 評分、致謝及其他相關資訊,請參閱〈參照〉一節列出的 CVE 頁面。

其他變更:

如需有關此發行版本的詳細變更資訊,請參閱可從「參考資料」一節連結的 Red Hat Enterprise Linux 8.5 版本資訊。

Tenable 已直接從 Red Hat Enterprise Linux 安全公告擷取前置描述區塊。

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

解決方案

根據 RHSA-2021:4151 中的指引更新 RHEL python27:2.7 套件。

另請參閱

http://www.nessus.org/u?7240878e

http://www.nessus.org/u?a5579a60

https://access.redhat.com/security/updates/classification/#moderate

https://access.redhat.com/errata/RHSA-2021:4151

https://bugzilla.redhat.com/show_bug.cgi?id=1889886

https://bugzilla.redhat.com/show_bug.cgi?id=1922136

https://bugzilla.redhat.com/show_bug.cgi?id=1928707

https://bugzilla.redhat.com/show_bug.cgi?id=1928904

https://bugzilla.redhat.com/show_bug.cgi?id=1940603

https://bugzilla.redhat.com/show_bug.cgi?id=1941534

https://bugzilla.redhat.com/show_bug.cgi?id=1945483

https://bugzilla.redhat.com/show_bug.cgi?id=1955615

Plugin 詳細資訊

嚴重性: High

ID: 155151

檔案名稱: redhat-RHSA-2021-4151.nasl

版本: 1.11

類型: local

代理程式: unix

已發布: 2021/11/11

已更新: 2025/9/10

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

Vendor

Vendor Severity: Moderate

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 5.9

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

CVSS 評分資料來源: CVE-2020-27619

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

CVSS v4

風險因素: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 評分資料來源: CVE-2021-42771

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:python-jinja2, p-cpe:/a:redhat:enterprise_linux:python2-pytest, p-cpe:/a:redhat:enterprise_linux:python2-pymysql, p-cpe:/a:redhat:enterprise_linux:python2-numpy-f2py, p-cpe:/a:redhat:enterprise_linux:python2-markupsafe, p-cpe:/a:redhat:enterprise_linux:python2-ipaddress, p-cpe:/a:redhat:enterprise_linux:python2-idna, p-cpe:/a:redhat:enterprise_linux:python-requests, p-cpe:/a:redhat:enterprise_linux:python2-jinja2, p-cpe:/a:redhat:enterprise_linux:python2-pytest-mock, p-cpe:/a:redhat:enterprise_linux:python-mock, p-cpe:/a:redhat:enterprise_linux:python2-psycopg2, p-cpe:/a:redhat:enterprise_linux:python2-babel, p-cpe:/a:redhat:enterprise_linux:babel, p-cpe:/a:redhat:enterprise_linux:python2-psycopg2-debug, p-cpe:/a:redhat:enterprise_linux:python2-docutils, p-cpe:/a:redhat:enterprise_linux:pyyaml, p-cpe:/a:redhat:enterprise_linux:python2-docs-info, p-cpe:/a:redhat:enterprise_linux:python2-bson, p-cpe:/a:redhat:enterprise_linux:python2-pytz, p-cpe:/a:redhat:enterprise_linux:python-pymysql, p-cpe:/a:redhat:enterprise_linux:python2-tkinter, p-cpe:/a:redhat:enterprise_linux:python2-pluggy, p-cpe:/a:redhat:enterprise_linux:python2-setuptools, p-cpe:/a:redhat:enterprise_linux:python2-sqlalchemy, p-cpe:/a:redhat:enterprise_linux:python2-setuptools_scm, p-cpe:/a:redhat:enterprise_linux:python-idna, p-cpe:/a:redhat:enterprise_linux:python2-docs, p-cpe:/a:redhat:enterprise_linux:python-urllib3, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:python2-pymongo, p-cpe:/a:redhat:enterprise_linux:python2, p-cpe:/a:redhat:enterprise_linux:python-pymongo, p-cpe:/a:redhat:enterprise_linux:python2-tools, p-cpe:/a:redhat:enterprise_linux:python2-wheel, p-cpe:/a:redhat:enterprise_linux:python2-backports, p-cpe:/a:redhat:enterprise_linux:python-lxml, p-cpe:/a:redhat:enterprise_linux:python-backports-ssl_match_hostname, p-cpe:/a:redhat:enterprise_linux:python2-pyyaml, p-cpe:/a:redhat:enterprise_linux:python-pygments, p-cpe:/a:redhat:enterprise_linux:cython, p-cpe:/a:redhat:enterprise_linux:python2-coverage, p-cpe:/a:redhat:enterprise_linux:python2-numpy-doc, p-cpe:/a:redhat:enterprise_linux:python-setuptools_scm, p-cpe:/a:redhat:enterprise_linux:python2-scipy, p-cpe:/a:redhat:enterprise_linux:python2-pip-wheel, p-cpe:/a:redhat:enterprise_linux:python-docutils, p-cpe:/a:redhat:enterprise_linux:numpy, p-cpe:/a:redhat:enterprise_linux:python2-mock, p-cpe:/a:redhat:enterprise_linux:python2-psycopg2-tests, p-cpe:/a:redhat:enterprise_linux:python-virtualenv, p-cpe:/a:redhat:enterprise_linux:python2-devel, p-cpe:/a:redhat:enterprise_linux:python-psycopg2-doc, p-cpe:/a:redhat:enterprise_linux:python2-pygments, p-cpe:/a:redhat:enterprise_linux:python-markupsafe, p-cpe:/a:redhat:enterprise_linux:python-funcsigs, p-cpe:/a:redhat:enterprise_linux:python-py, p-cpe:/a:redhat:enterprise_linux:python2-wheel-wheel, p-cpe:/a:redhat:enterprise_linux:python2-nose, p-cpe:/a:redhat:enterprise_linux:python-pytest-mock, p-cpe:/a:redhat:enterprise_linux:scipy, p-cpe:/a:redhat:enterprise_linux:python-sqlalchemy, p-cpe:/a:redhat:enterprise_linux:python2-backports-ssl_match_hostname, p-cpe:/a:redhat:enterprise_linux:python2-chardet, p-cpe:/a:redhat:enterprise_linux:python2-dns, p-cpe:/a:redhat:enterprise_linux:python2-debug, p-cpe:/a:redhat:enterprise_linux:python-nose-docs, p-cpe:/a:redhat:enterprise_linux:python2-py, p-cpe:/a:redhat:enterprise_linux:python-backports, p-cpe:/a:redhat:enterprise_linux:python2-pymongo-gridfs, p-cpe:/a:redhat:enterprise_linux:pytest, p-cpe:/a:redhat:enterprise_linux:python-nose, p-cpe:/a:redhat:enterprise_linux:python2-setuptools-wheel, p-cpe:/a:redhat:enterprise_linux:pytz, p-cpe:/a:redhat:enterprise_linux:python2-six, p-cpe:/a:redhat:enterprise_linux:python2-urllib3, p-cpe:/a:redhat:enterprise_linux:python2-lxml, p-cpe:/a:redhat:enterprise_linux:python2-requests, p-cpe:/a:redhat:enterprise_linux:python2-rpm-macros, p-cpe:/a:redhat:enterprise_linux:python-attrs, p-cpe:/a:redhat:enterprise_linux:python2-virtualenv, p-cpe:/a:redhat:enterprise_linux:python2-pysocks, p-cpe:/a:redhat:enterprise_linux:python-pysocks, p-cpe:/a:redhat:enterprise_linux:python2-test, p-cpe:/a:redhat:enterprise_linux:python2-libs, p-cpe:/a:redhat:enterprise_linux:python2-cython, p-cpe:/a:redhat:enterprise_linux:python-ipaddress, p-cpe:/a:redhat:enterprise_linux:python2-numpy, p-cpe:/a:redhat:enterprise_linux:python-coverage, p-cpe:/a:redhat:enterprise_linux:python-dns, p-cpe:/a:redhat:enterprise_linux:python2-pip, p-cpe:/a:redhat:enterprise_linux:python-pluggy, p-cpe:/a:redhat:enterprise_linux:python-wheel, p-cpe:/a:redhat:enterprise_linux:python-chardet, p-cpe:/a:redhat:enterprise_linux:python2-attrs, p-cpe:/a:redhat:enterprise_linux:python2-funcsigs, p-cpe:/a:redhat:enterprise_linux:python-docs, p-cpe:/a:redhat:enterprise_linux:python-sqlalchemy-doc, p-cpe:/a:redhat:enterprise_linux:python-psycopg2

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2021/11/9

弱點發布日期: 2020/10/22

參考資訊

CVE: CVE-2020-27619, CVE-2020-28493, CVE-2021-20270, CVE-2021-23336, CVE-2021-27291, CVE-2021-28957, CVE-2021-42771

CWE: 22, 400, 444, 79, 835, 95

IAVA: 2021-A-0052-S, 2021-A-0263-S

RHSA: 2021:4151