RHEL 9 : python3.11 (RHSA-2025:9918)

critical Nessus Plugin ID 240974

Synopsis

The remote Red Hat host is missing one or more security updates for python3.11.

Description

The remote Redhat Enterprise Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2025:9918 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):

* cpython: Tarfile extracts filtered members when errorlevel=0 (CVE-2025-4435)

* cpython: Bypass extraction filter to modify file metadata outside extraction directory (CVE-2024-12718)

* cpython: Extraction filter bypass for linking outside extraction directory (CVE-2025-4330)

* python: cpython: Arbitrary writes via tarfile realpath overflow (CVE-2025-4517)

* cpython: python: Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory (CVE-2025-4138)

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.

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 python3.11 package based on the guidance in RHSA-2025:9918.

See Also

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

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

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

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

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

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

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

https://access.redhat.com/errata/RHSA-2025:9918

Plugin Details

Severity: Critical

ID: 240974

File Name: redhat-RHSA-2025-9918.nasl

Version: 1.1

Type: local

Agent: unix

Published: 6/30/2025

Updated: 6/30/2025

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

Risk Information

VPR

Risk Factor: High

Score: 7.0

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: High

Base Score: 9.7

Temporal Score: 7.2

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

CVSS Score Source: CVE-2025-4517

CVSS v3

Risk Factor: Critical

Base Score: 9.4

Temporal Score: 8.2

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

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

CVSS v4

Risk Factor: Critical

Base Score: 10

Threat Score: 9.1

Threat Vector: CVSS:4.0/E:U

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

CVSS Score Source: CVE-2024-12718

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:python3.11-idle, p-cpe:/a:redhat:enterprise_linux:python3.11-debug, p-cpe:/a:redhat:enterprise_linux:python3.11-tkinter, cpe:/o:redhat:rhel_eus:9.4, p-cpe:/a:redhat:enterprise_linux:python3.11-test, p-cpe:/a:redhat:enterprise_linux:python3.11-devel, p-cpe:/a:redhat:enterprise_linux:python3.11, p-cpe:/a:redhat:enterprise_linux:python3.11-libs

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

Exploit Ease: No known exploits are available

Patch Publication Date: 6/30/2025

Vulnerability Publication Date: 6/3/2025

Reference Information

CVE: CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4435, CVE-2025-4517

CWE: 22, 706

RHSA: 2025:9918