-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Vulnerabilities found for redhat package python3-libs-3.6.8-69.el8_10
in kyncjot.azurecr.io/portfolio:b86dfd30b5a1b57a5b83b27d1d7513f6885bdbf8 (redhat 8.10)
Fixed in version
3.6.8-70.el8_10
CVE-2024-12718
- cpython: python: Bypass extraction filter to modify file metadata outside extraction directory
Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory.
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. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier versions don't include the extraction filter feature.
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.
Severity
HIGH
Primary URL
https://avd.aquasec.com/nvd/cve-2024-12718
References
- https://access.redhat.com/errata/RHSA-2025:10189
- https://access.redhat.com/security/cve/CVE-2024-12718
- https://bugzilla.redhat.com/2370010
- https://bugzilla.redhat.com/2370013
- https://bugzilla.redhat.com/2370014
- https://bugzilla.redhat.com/2370016
- https://bugzilla.redhat.com/2372426
- https://errata.almalinux.org/9/ALSA-2025-10189.html
- https://gist.github.com/sethmlarson/52398e33eff261329a0180ac1d54f42f
- python/cpython@19de092
- python/cpython@28463db
- python/cpython@3612d8f
- python/cpython@4633f3f
- python/cpython@98016f7
- python/cpython@9c1110e
- python/cpython@9e0ac76
- python/cpython@aa9eb5f
- python/cpython@dd8f187
- TarFile.extractall(..., filter='tar') arbitrary file chmod python/cpython#127987
- Multiple tarfile extraction filter bypasses (
filter="tar"
/filter="data"
) python/cpython#135034 - gh-135034: Normalize link targets in tarfile, add
os.path.realpath(strict='allow_missing')
python/cpython#135037 - https://linux.oracle.com/cve/CVE-2024-12718.html
- https://linux.oracle.com/errata/ELSA-2025-10189.html
- https://mail.python.org/archives/list/[email protected]/thread/MAXIJJCUUMCL7ATZNDVEGGHUMQMUUKLG/
- https://nvd.nist.gov/vuln/detail/CVE-2024-12718
- https://ubuntu.com/security/notices/USN-7583-1
- https://www.cve.org/CVERecord?id=CVE-2024-12718
CVE-2025-4138
- cpython: python: Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory
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.
Severity
HIGH
Primary URL
https://avd.aquasec.com/nvd/cve-2025-4138
References
- https://access.redhat.com/errata/RHSA-2025:10189
- https://access.redhat.com/security/cve/CVE-2025-4138
- https://bugzilla.redhat.com/2370010
- https://bugzilla.redhat.com/2370013
- https://bugzilla.redhat.com/2370014
- https://bugzilla.redhat.com/2370016
- https://bugzilla.redhat.com/2372426
- https://errata.almalinux.org/9/ALSA-2025-10189.html
- https://gist.github.com/sethmlarson/52398e33eff261329a0180ac1d54f42f
- python/cpython@19de092
- python/cpython@28463db
- python/cpython@3612d8f
- python/cpython@4633f3f
- python/cpython@98016f7
- python/cpython@9c1110e
- python/cpython@9e0ac76
- python/cpython@aa9eb5f
- python/cpython@dd8f187
- Multiple tarfile extraction filter bypasses (
filter="tar"
/filter="data"
) python/cpython#135034 - gh-135034: Normalize link targets in tarfile, add
os.path.realpath(strict='allow_missing')
python/cpython#135037 - https://linux.oracle.com/cve/CVE-2025-4138.html
- https://linux.oracle.com/errata/ELSA-2025-10189.html
- https://mail.python.org/archives/list/[email protected]/thread/MAXIJJCUUMCL7ATZNDVEGGHUMQMUUKLG/
- https://nvd.nist.gov/vuln/detail/CVE-2025-4138
- https://ubuntu.com/security/notices/USN-7583-1
- https://www.cve.org/CVERecord?id=CVE-2025-4138
CVE-2025-4517
- python: cpython: Arbitrary writes via tarfile realpath overflow
Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data".
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.
Severity
HIGH
Primary URL
https://avd.aquasec.com/nvd/cve-2025-4517
References
- https://access.redhat.com/errata/RHSA-2025:10189
- https://access.redhat.com/security/cve/CVE-2025-4517
- https://bugzilla.redhat.com/2370010
- https://bugzilla.redhat.com/2370013
- https://bugzilla.redhat.com/2370014
- https://bugzilla.redhat.com/2370016
- https://bugzilla.redhat.com/2372426
- https://errata.almalinux.org/9/ALSA-2025-10189.html
- https://gist.github.com/sethmlarson/52398e33eff261329a0180ac1d54f42f
- python/cpython@19de092
- python/cpython@28463db
- python/cpython@3612d8f
- python/cpython@4633f3f
- python/cpython@98016f7
- python/cpython@9c1110e
- python/cpython@9e0ac76
- python/cpython@aa9eb5f
- python/cpython@dd8f187
- Multiple tarfile extraction filter bypasses (
filter="tar"
/filter="data"
) python/cpython#135034 - gh-135034: Normalize link targets in tarfile, add
os.path.realpath(strict='allow_missing')
python/cpython#135037 - https://linux.oracle.com/cve/CVE-2025-4517.html
- https://linux.oracle.com/errata/ELSA-2025-10189.html
- https://mail.python.org/archives/list/[email protected]/thread/MAXIJJCUUMCL7ATZNDVEGGHUMQMUUKLG/
- https://nvd.nist.gov/vuln/detail/CVE-2025-4517
- https://ubuntu.com/security/notices/USN-7583-1
- https://www.cve.org/CVERecord?id=CVE-2025-4517