CVE-2024-3220: Default mimetype known files writeable on Windows
Python Software Foundation · CPython
Vendor fix available · Affected: Python Software Foundation CPython · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 54% of scored CVEs
DescriptionCVE.org
There is a defect in the CPython standard library module “mimetypes” where on Windows the default list of known file locations are writable meaning other users can create invalid files to cause MemoryError to be raised on Python runtime startup or have file extensions be interpreted as the incorrect file type. This defect is caused by the default locations of Linux and macOS platforms (such as “/etc/mime.types”) also being used on Windows, where they are user-writable locations (“C:\etc\mime.types”). To work-around this issue a user can call mimetypes.init() with an empty list (“[]”) on Windows platforms to avoid using the default list of known file locations.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Python Software Foundation · CPythonbefore 3.11.18; from 3.12.0 before 3.12.16; from 3.13.0 before 3.13.18; from 3.14.0 before 3.14.9; from 3.15.0 before 3.15.1; from 3.16.0a1 before 3.16.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Published
- February 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2024-3220 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-426cwe.mitre.org
- Vendor advisorymail.python.org
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Patchgithub.com
- Issue trackergithub.com
- openwall.com/lists/oss-security/2025/02/14/8openwall.com
- security.netapp.com/advisory/ntap-20250314-0001security.netapp.com