RHEL 8 : python39:3.9 and python39-devel:3.9 (RHSA-2024:2985)

critical Nessus Plugin ID 197747

Synopsis

The remote Red Hat host is missing one or more security updates for python39:3.9 / python39-devel:3.9.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2024:2985 advisory.

Python is an interpreted, interactive, object-oriented programming language, which includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Python supports interfaces to many system calls and libraries, as well as to various windowing systems.

Security Fix(es):

* pypa-setuptools: Regular Expression Denial of Service (ReDoS) in package_index.py (CVE-2022-40897)

* python-cryptography: memory corruption via immutable objects (CVE-2023-23931)

* python: Parsing errors in email/_parseaddr.py lead to incorrect value in email address part of tuple (CVE-2023-27043)

* python-urllib3: Cookie request header isn't stripped during cross-origin redirects (CVE-2023-43804)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.10 Release Notes linked from the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL python39:3.9 / python39-devel:3.9 packages based on the guidance in RHSA-2024:2985.

See Also

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

http://www.nessus.org/u?99ff6172

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

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

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

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

https://issues.redhat.com/browse/RHEL-21905

https://issues.redhat.com/browse/RHEL-25457

http://www.nessus.org/u?8ea8d810

https://access.redhat.com/errata/RHSA-2024:2985

Plugin Details

Severity: Critical

ID: 197747

File Name: redhat-RHSA-2024-2985.nasl

Version: 1.2

Type: local

Agent: unix

Published: 5/23/2024

Updated: 11/7/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2023-43804

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.9

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:pyyaml, p-cpe:/a:redhat:enterprise_linux:python39-wcwidth, p-cpe:/a:redhat:enterprise_linux:python39-more-itertools, p-cpe:/a:redhat:enterprise_linux:python-psutil, p-cpe:/a:redhat:enterprise_linux:python39-pybind11-devel, p-cpe:/a:redhat:enterprise_linux:python39-cffi, p-cpe:/a:redhat:enterprise_linux:python39-lxml, p-cpe:/a:redhat:enterprise_linux:python39-tkinter, p-cpe:/a:redhat:enterprise_linux:python-requests, p-cpe:/a:redhat:enterprise_linux:python39-libs, p-cpe:/a:redhat:enterprise_linux:python-iniconfig, p-cpe:/a:redhat:enterprise_linux:python39-requests, p-cpe:/a:redhat:enterprise_linux:python39-rpm-macros, p-cpe:/a:redhat:enterprise_linux:python39-numpy, p-cpe:/a:redhat:enterprise_linux:python39-pyparsing, p-cpe:/a:redhat:enterprise_linux:python39-idle, p-cpe:/a:redhat:enterprise_linux:python39-idna, p-cpe:/a:redhat:enterprise_linux:python39-urllib3, p-cpe:/a:redhat:enterprise_linux:python-lxml, p-cpe:/a:redhat:enterprise_linux:python-attrs, p-cpe:/a:redhat:enterprise_linux:python39-iniconfig, p-cpe:/a:redhat:enterprise_linux:python39-packaging, p-cpe:/a:redhat:enterprise_linux:python-wheel, p-cpe:/a:redhat:enterprise_linux:python39-devel, p-cpe:/a:redhat:enterprise_linux:python-pysocks, p-cpe:/a:redhat:enterprise_linux:pybind11, p-cpe:/a:redhat:enterprise_linux:python-pymysql, p-cpe:/a:redhat:enterprise_linux:python39-pyyaml, p-cpe:/a:redhat:enterprise_linux:python-chardet, p-cpe:/a:redhat:enterprise_linux:python39-wheel, p-cpe:/a:redhat:enterprise_linux:python-more-itertools, p-cpe:/a:redhat:enterprise_linux:python39-pymysql, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2, p-cpe:/a:redhat:enterprise_linux:python-pluggy, p-cpe:/a:redhat:enterprise_linux:python39-cryptography, p-cpe:/a:redhat:enterprise_linux:python39-test, p-cpe:/a:redhat:enterprise_linux:python39-chardet, p-cpe:/a:redhat:enterprise_linux:python-packaging, p-cpe:/a:redhat:enterprise_linux:python39-pysocks, p-cpe:/a:redhat:enterprise_linux:python3x-pyparsing, p-cpe:/a:redhat:enterprise_linux:python39-setuptools, p-cpe:/a:redhat:enterprise_linux:python39-wheel-wheel, p-cpe:/a:redhat:enterprise_linux:python39-pycparser, p-cpe:/a:redhat:enterprise_linux:python-py, p-cpe:/a:redhat:enterprise_linux:python-wcwidth, p-cpe:/a:redhat:enterprise_linux:python3x-setuptools, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2-tests, p-cpe:/a:redhat:enterprise_linux:pytest, p-cpe:/a:redhat:enterprise_linux:python39-toml, p-cpe:/a:redhat:enterprise_linux:python-urllib3, p-cpe:/a:redhat:enterprise_linux:python-ply, p-cpe:/a:redhat:enterprise_linux:python39-six, p-cpe:/a:redhat:enterprise_linux:python-toml, p-cpe:/a:redhat:enterprise_linux:python39-pip, p-cpe:/a:redhat:enterprise_linux:python39-numpy-doc, p-cpe:/a:redhat:enterprise_linux:python39-setuptools-wheel, p-cpe:/a:redhat:enterprise_linux:python39-debug, p-cpe:/a:redhat:enterprise_linux:python39-pybind11, p-cpe:/a:redhat:enterprise_linux:numpy, p-cpe:/a:redhat:enterprise_linux:python39-psutil, p-cpe:/a:redhat:enterprise_linux:python39-pluggy, p-cpe:/a:redhat:enterprise_linux:python39-scipy, p-cpe:/a:redhat:enterprise_linux:python3x-pip, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:python39-ply, p-cpe:/a:redhat:enterprise_linux:python39, p-cpe:/a:redhat:enterprise_linux:mod_wsgi, p-cpe:/a:redhat:enterprise_linux:python39-numpy-f2py, p-cpe:/a:redhat:enterprise_linux:cython, p-cpe:/a:redhat:enterprise_linux:python39-py, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2-doc, p-cpe:/a:redhat:enterprise_linux:python-psycopg2, p-cpe:/a:redhat:enterprise_linux:python39-pip-wheel, p-cpe:/a:redhat:enterprise_linux:python-cffi, p-cpe:/a:redhat:enterprise_linux:scipy, p-cpe:/a:redhat:enterprise_linux:python39-pytest, p-cpe:/a:redhat:enterprise_linux:python39-attrs, p-cpe:/a:redhat:enterprise_linux:python39-mod_wsgi, p-cpe:/a:redhat:enterprise_linux:python-pycparser, p-cpe:/a:redhat:enterprise_linux:python-cryptography, p-cpe:/a:redhat:enterprise_linux:python39-cython, p-cpe:/a:redhat:enterprise_linux:python3x-six, p-cpe:/a:redhat:enterprise_linux:python-idna

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/22/2024

Vulnerability Publication Date: 12/13/2022

Reference Information

CVE: CVE-2022-40897, CVE-2023-23931, CVE-2023-27043, CVE-2023-43804

CWE: 185, 20, 200, 754

RHSA: 2024:2985