VDB

ALPINE-CVE-2025-4330

ALPINE-CVE-2025-4330 PUBLISHED CVSS 7.5 HIGH

Record from OSV · Published June 3, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3Alpine:v3.233.12.11-r0
python3Alpine:v3.193.11.13-r0
python3-tkinterAlpine:v3.243.12.11-r0
python3-tkinterAlpine:v3.233.12.11-r0
python3Alpine:v3.203.12.11-r0
python3Alpine:v3.213.12.11-r0
python3Alpine:v3.243.12.11-r0
python3Alpine:v3.223.12.11-r0

Risk scores

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

Affected products

VendorProductVersions
Alpine:v3.23python33.12.7-r0, 3.10.0-r1, 3.10.0-r0
Alpine:v3.19python33.1.3-r0, 3.11.3-r0, 3.11.0-r2
Alpine:v3.24python3-tkinter0
Alpine:v3.23python3-tkinter3.11.7-r0, 3.12.7-r0, 3.11.6-r0
Alpine:v3.20python33.11.3-r2, 0, 3.1.3-r0
Alpine:v3.21python33.9.1-r0, 3.11.6-r1, 3.6.2-r2
Alpine:v3.24python30
Alpine:v3.22python33.11.3-r5, 3.10.3-r1, 3.12.9-r0

Timeline

  • Jun 3, 2025 CVE Published
  • Jun 15, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2025-4330
vulnetix vdb fixes ALPINE-CVE-2025-4330

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2025-4330/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›