VDB

ALPINE-CVE-2024-12718

ALPINE-CVE-2024-12718 PUBLISHED CVSS 5.300000190734863 MEDIUM

Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. 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. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier versions don't include the extraction filter feature. 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
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected Products

VendorProductVersions
Alpine:v3.20python33.6.2-r2, 0, 3.1.3-r0
Alpine:v3.22python33.6.3-r4, 3.6.3-r6, 3.6.3-r7
Alpine:v3.23python3-tkinter3.10.7-r0, 3.10.6-r0, 3.10.5-r0
Alpine:v3.23python33.9.7-r4, 3.1.3-r0, 3.10.0-r1
Alpine:v3.19python33.10.5-r1, 3.6.1-r2, 3.4.3-r2
Alpine:v3.21python33.10.0-r1, 3.10.2-r0, 3.11.3-r5

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 ›