Security Flaw in Python's Mimetypes Module Affects Windows Environments
CVE-2024-3220
What is CVE-2024-3220?
A defect exists in Python's CPython standard library module 'mimetypes' affecting Windows users. The default list of known file locations is writable, allowing other users to create invalid files. This may lead to a MemoryError when Python starts, or result in incorrect file type interpretations due to incorrect file extensions. The issue arises from the inappropriate application of Unix-style defaults on Windows systems. Users can mitigate the risk by invoking mimetypes.init() with an empty list on Windows to bypass loading default locations.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
CPython 0 < 3.14.0
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
