ALPINE-CVE-2025-4330
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3 | Alpine:v3.23 | 3.12.11-r0 |
| python3 | Alpine:v3.19 | 3.11.13-r0 |
| python3-tkinter | Alpine:v3.24 | 3.12.11-r0 |
| python3-tkinter | Alpine:v3.23 | 3.12.11-r0 |
| python3 | Alpine:v3.20 | 3.12.11-r0 |
| python3 | Alpine:v3.21 | 3.12.11-r0 |
| python3 | Alpine:v3.24 | 3.12.11-r0 |
| python3 | Alpine:v3.22 | 3.12.11-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.23 | python3 | 3.12.7-r0, 3.10.0-r1, 3.10.0-r0 |
| Alpine:v3.19 | python3 | 3.1.3-r0, 3.11.3-r0, 3.11.0-r2 |
| Alpine:v3.24 | python3-tkinter | 0 |
| Alpine:v3.23 | python3-tkinter | 3.11.7-r0, 3.12.7-r0, 3.11.6-r0 |
| Alpine:v3.20 | python3 | 3.11.3-r2, 0, 3.1.3-r0 |
| Alpine:v3.21 | python3 | 3.9.1-r0, 3.11.6-r1, 3.6.2-r2 |
| Alpine:v3.24 | python3 | 0 |
| Alpine:v3.22 | python3 | 3.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