VDB

ALPINE-CVE-2025-4517

ALPINE-CVE-2025-4517 PUBLISHED CVSS 9.399999618530273 CRITICAL

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.

Risk Scores

CVSS v3.1
9.399999618530273
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected Products

VendorProductVersions
Alpine:v3.23python3-tkinter3.8.0-r0, 3.7.3-r0, 3.11.3-r1
Alpine:v3.22python33.11.4-r3, 3.11.5-r0, 3.11.6-r0
Alpine:v3.20python33.8.7-r0, 0, 3.1.3-r0
Alpine:v3.19python33.11.3-r6, 0, 3.1.3-r0
Alpine:v3.23python33.10.8-r2, 3.10.8-r3, 3.11.0-r0
Alpine:v3.21python33.11.8-r0, 3.10.8-r0, 3.10.7-r0

Timeline

  • Jun 3, 2025 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›