> CVE-2025-4138 [HIGH]

« BACK_TO_HOME
PUBLISHED
2025-06-03 13:15
MODIFIED
2025-06-05 14:15
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
1.49%
Top 25.8%
DATA SOURCES:
NVD 🔗 2025-10-18 RED HAT 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 OSV 🔗 2026-11-08 MSRC 🔗 2026-05-01

> DESCRIPTION

Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter  for more information. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.

> AFFECTED_PRODUCTS

Red Hat - Red Hat Enterprise Linux 10
Version: 3.12.9
Red Hat - Red Hat Enterprise Linux 8
Version: 3.11.13
Red Hat - Red Hat Enterprise Linux 8
Version: 3.12.11
Red Hat - Red Hat Enterprise Linux 8
Version: 3.6.8
Red Hat - Red Hat Enterprise Linux 9
Version: 3.9.21
Red Hat - Red Hat Enterprise Linux 9
Version: 3.11.11
Red Hat - Red Hat Enterprise Linux 9
Version: 3.12.9
Red Hat - Red Hat Enterprise Linux 9.4 Extended Update Support
Version: 3.12.1
Red Hat - Red Hat Enterprise Linux 9.4 Extended Update Support
Version: 3.9.18
Red Hat - Red Hat Enterprise Linux 9.4 Extended Update Support
Version: 3.11.7
Red Hat - Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Version: 3.6.8
Red Hat - Red Hat Enterprise Linux 8.6 Telecommunications Update Service
Version: 3.6.8
Red Hat - Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Version: 3.6.8
Red Hat - Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Version: 3.6.8
Red Hat - Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Version: 3.6.8
Red Hat - cert-manager operator for Red Hat OpenShift 1.16
Red Hat - Red Hat Discovery 2
Red Hat - RHEL-8 based Middleware Containers
Red Hat - Red Hat Enterprise Linux 8.8 Extended Update Support Long-Life Add-On
Version: 3.6.8
Red Hat - Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Version: 3.6.8

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.16.0
cert-manager Operator for Red Hat OpenShift 1.16.0
Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage
A Subscription Management tool for finding and reporting Red Hat product usage
Red Hat Security Advisory: updated RHEL-8 based Middleware Containers container images
Updated RHEL-8 based Middleware Containers container images are now available
Red Hat Security Advisory: python3 security update
An update for python3 is now available for Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions, Red Hat Enterprise Linux 8.8 Telecommunications Update Service, and Red Hat Enterprise Linux...
Red Hat Security Advisory: python3 security update
An update for python3 is now available for Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions, Red Hat Enterprise Lin...
Red Hat Security Advisory: python3.9 security update
An update for python3.9 is now available for Red Hat Enterprise Linux 9.4 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vu...
Red Hat Security Advisory: python3.12 security update
An update for python3.12 is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring Syste...
Red Hat Security Advisory: python3.11 security update
An update for python3.11 is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring Syste...
Red Hat Security Advisory: python3.12 security update
An update for python3.12 is now available for Red Hat Enterprise Linux 10. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring Syst...
Red Hat Security Advisory: python3.9 security update
An update for python3.9 is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System...
Red Hat Security Advisory: python3 security update
An update for python3 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (...
Red Hat Security Advisory: python3.12 security update
An update for python3.12 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring Syste...
Red Hat Security Advisory: python3.11 security update
An update for python3.11 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring Syste...
Red Hat Security Advisory: python3.12 security update
An update for python3.12 is now available for Red Hat Enterprise Linux 9.4 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common V...
Red Hat Security Advisory: python3.11 security update
An update for python3.11 is now available for Red Hat Enterprise Linux 9.4 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Important. A Common V...
Red Hat Security Advisory: python39:3.9 security update
An update for the python39:3.9 module is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability...
Red Hat Security Advisory: Release of OpenShift Serverless Logic 1.36.0 security update & enhancements
Release of OpenShift Serverless Logic 1.36.0 Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gi...

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Important

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory

AFFECTED PACKAGES:
Unknown / Unknown
226 versions affected
ALIASES:
BIT-libpython-2025-4138, BIT-python-2025-4138, BIT-python-min-2025-4138, PSF-2025-6

> HISTORIQUE DES MODIFICATIONS

Première apparition
03/06/2025 13:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:04
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
📊 ENRICHISSEMENT 18/10/2025 12:14
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Important", "severity_scale": null }
📊 ENRICHISSEMENT 18/10/2025 12:14
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 3 Dernière mise à jour: 1 year ago
« BACK_TO_HOME