python3.12-3.12.9-1.el9_6.1

エラータID: AXSA:2025-10625:08

リリース日: 
2025/07/29 Tuesday - 13:32
題名: 
python3.12-3.12.9-1.el9_6.1
影響のあるチャネル: 
MIRACLE LINUX 9 for x86_64
Severity: 
High
Description: 

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.

CVE-2024-12718
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.
CVE-2025-4138
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.
CVE-2025-4330
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.
CVE-2025-4435
When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped.
CVE-2025-4517
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.

解決策: 

Update packages.

追加情報: 

N/A

ダウンロード: 

SRPMS
  1. python3.12-3.12.9-1.el9_6.1.src.rpm
    MD5: df1477bc28d9454cf474d13e10becace
    SHA-256: d81ffe094f51a7259c65984ebd6011ab85bec2c68c9f98ab8d9453284315b727
    Size: 19.63 MB

Asianux Server 9 for x86_64
  1. python3.12-3.12.9-1.el9_6.1.i686.rpm
    MD5: 069d341281becb4f3acfb93d241bac72
    SHA-256: 2a68ea72a00f0b4c59ba4d44f3e180cd9b923decfd24bd1b03ed522ed5ea6064
    Size: 26.89 kB
  2. python3.12-3.12.9-1.el9_6.1.x86_64.rpm
    MD5: 9674e621e5fba666f23a58dc8e403ffc
    SHA-256: 7aa7c0b90d7f755f419fe3261b27030361ed36073450acc1125f69d4a3033189
    Size: 26.79 kB
  3. python3.12-debug-3.12.9-1.el9_6.1.i686.rpm
    MD5: 59f3651bfa5ac8b4d99ca89ece0139e4
    SHA-256: ad47f9a272318734f5d8eb716b8605a2b579c5a8a2ea22e47155bb956239f642
    Size: 3.56 MB
  4. python3.12-debug-3.12.9-1.el9_6.1.x86_64.rpm
    MD5: 92d62e0e1a00c28ceb5ef7d39e745a57
    SHA-256: 5a7a4cb585ae2ce1d8196f46f38f148d7b58ea0aafb73e971e57014a9110d432
    Size: 3.72 MB
  5. python3.12-devel-3.12.9-1.el9_6.1.i686.rpm
    MD5: 8b0fbb288ab84446c9f4d08efb88f496
    SHA-256: 93dd4591ca6485e25cbc5d71f742dbd59d509ff5478649b111f86f8318694027
    Size: 328.22 kB
  6. python3.12-devel-3.12.9-1.el9_6.1.x86_64.rpm
    MD5: 08e93e3dba9804d9f5ede4dfed5c8469
    SHA-256: bc0eaa5f0ad8919c3c446842badd18ef2391de2a72e73e8b2c67476de2f7bdc0
    Size: 328.11 kB
  7. python3.12-idle-3.12.9-1.el9_6.1.i686.rpm
    MD5: e12f86e32df4b975cbb1fdf1ab9fb485
    SHA-256: 0776223ad6d60c4a65e9f2e38fd17f54b6c096778fbefb799c773c4795371d19
    Size: 1.07 MB
  8. python3.12-idle-3.12.9-1.el9_6.1.x86_64.rpm
    MD5: ddda468ee77bf40304f2ba2adf684c3c
    SHA-256: 96ed2730d15bf71d3f3c30a2801c6fb4f978d8c4cfe0507949375e465417bce3
    Size: 1.07 MB
  9. python3.12-libs-3.12.9-1.el9_6.1.i686.rpm
    MD5: 2bb0bdb8e80ed45a1f562f6cb20bb997
    SHA-256: 1af677c8c57d8438f5bb122f0822655f73dd33b9869ae2ff9d3b49ebad786b13
    Size: 9.73 MB
  10. python3.12-libs-3.12.9-1.el9_6.1.x86_64.rpm
    MD5: d7a9c29264f49d0019d698ec58b5451b
    SHA-256: 84f629de61122b87ff968bdf05e0dc649897654266999bc53042a9535a53b246
    Size: 9.69 MB
  11. python3.12-test-3.12.9-1.el9_6.1.i686.rpm
    MD5: f1534477af5f7f5fc746371e1d66512a
    SHA-256: 6b35b1f00c45dbe49cacf67ae8f390b82859327ed8d4b51a3786d34e943ae3b4
    Size: 15.74 MB
  12. python3.12-test-3.12.9-1.el9_6.1.x86_64.rpm
    MD5: bd28bd34482d3c868c15d6d5545428e9
    SHA-256: e3850460b7caaff02015eeb463a8db3f2aaa2f92cf9282c149dc5abf92dc776b
    Size: 15.73 MB
  13. python3.12-tkinter-3.12.9-1.el9_6.1.i686.rpm
    MD5: 332e38ecd8a52b5a3a53aaa55e0e373b
    SHA-256: d0f90b6b882c1b2637072896b2f2e0ece77fe7ea7ad37a81ec3d2d450a041a8f
    Size: 422.92 kB
  14. python3.12-tkinter-3.12.9-1.el9_6.1.x86_64.rpm
    MD5: c3b16b5ae08760f13304fa020193fe11
    SHA-256: e9d902970e8e427ca095b7eeb43ddd851de48649ae11ffd44b0c3d7214554e91
    Size: 421.24 kB