CVE-2024-12718
Last modified
CVE-2024-12718 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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". EPSS estimates a 0.64% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-12718?
How severe is CVE-2024-12718?
How do I fix CVE-2024-12718?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-12712The Shopping Cart & eCommerce Store plugin for WordPress is …5.3
- CVE-2024-12713The SureForms – Drag and Drop Form Builder for WordPress plu…5.3
- CVE-2024-12714The Backlink Monitoring Manager WordPress plugin through 0.1…6.1
- CVE-2024-12715The Asgard Security Scanner WordPress plugin through 0.7 doe…6.1
- CVE-2024-12716The Simple Basic Contact Form WordPress plugin before 202501…4.8
- CVE-2024-12717The Aklamator INfeed WordPress plugin through 2.0.0 does not…4.8
- CVE-2024-12719The WordPress File Upload plugin for WordPress is vulnerable…4.3
- CVE-2024-1272Inclusion of Sensitive Information in Source Code vulnerabil…7.5
- CVE-2024-12720A Regular Expression Denial of Service (ReDoS) vulnerability…7.5
- CVE-2024-12721The Custom Product Tabs For WooCommerce plugin for WordPress…7.2
- CVE-2024-12722The Twitter Bootstrap Collapse aka Accordian Shortcode WordP…5.4
- CVE-2024-12723The Infility Global WordPress plugin through 2.9.8 does not …6.1
Are you affected by CVE-2024-12718?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
