VDB

DEBIAN-CVE-2025-4517

DEBIAN-CVE-2025-4517 PUBLISHED CVSS 9.399999618530273 CRITICAL

Record from OSV · Published June 3, 2025

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.

Fixed versions

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

PackageEcosystemFixed in
pypy3Debian:147.3.20+dfsg-2
python3.13Debian:143.13.4-1
python3.13Debian:133.13.4-1

Risk scores

CVSS 3.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
Debian:14pypy37.3.19+dfsg-2, 7.3.20+dfsg-1, 0
Debian:13pypy37.3.20+dfsg-4, 7.3.21+dfsg-1, 7.3.21+dfsg-2
Debian:12pypy37.3.17+dfsg-2, 7.3.17+dfsg-3, 7.3.18+dfsg-1
Debian:14python3.130
Debian:13python3.130

Timeline

  • Jun 3, 2025 CVE Published
  • Sep 1, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln DEBIAN-CVE-2025-4517
vulnetix vdb fixes DEBIAN-CVE-2025-4517

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/DEBIAN-CVE-2025-4517/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 ›