Lucene search
+L

CVE-2025-4517

🗓️ 03 Jun 2025 12:58:50Reported by PSFType 
cve
 cve
🔗 web.nvd.nist.gov👁 1250 Views🌐 WEB

Vulnerability CVE-2025-4517 allows unsafe filesystem writes during tar extraction in Python 3.12 or later.

Related
Affected
Refs
Paths
[
  {
    "defaultStatus": "unaffected",
    "modules": [
      "tarfile"
    ],
    "product": "CPython",
    "repo": "https://github.com/python/cpython",
    "vendor": "Python Software Foundation",
    "versions": [
      {
        "version": "0",
        "lessThan": "3.9.23",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.10.0",
        "lessThan": "3.10.18",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.11.0",
        "lessThan": "3.11.13",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.12.0",
        "lessThan": "3.12.11",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.13.0",
        "lessThan": "3.13.4",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.14.0a1",
        "lessThan": "3.14.0b3",
        "status": "affected",
        "versionType": "python"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
filterpath/etc/sudoers.d/Arbitrary filesystem writes outside extraction directory during tarfile.extract() / extractall() when filter is set to 'data' or 'tar', enabling targeted writes in /etc/sudoers.d/.CWE-22

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

31 Jul 2026 14:16Current
9.7High risk
Vulners AI Score9.7
CVSS 3.19.4
EPSS0.01276
SSVC
1250