ALPINE-CVE-2025-4330

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 03 Jun 2025, 13:15
Last modified:03 Dec 2025, 22:59

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
3.1 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

03 Jun 2025, 13:15
Published
Vulnerability first disclosed
03 Dec 2025, 22:59
Last Modified
Vulnerability information updated

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.

CVSS Metrics

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

Affected Systems

  • alpinepython3

    < 3.11.13-r0 | < 3.12.11-r0 | < 3.12.11-r0 | < 3.12.11-r0 | < 3.12.11-r0

  • alpinepython3-tkinter

    < 3.12.11-r0

References (1)