CVE-2024-3220Untrusted Search Path in Software Foundation Cpython

Severity
2.3LOWNVD
EPSS
0.3%
top 47.70%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 14

Description

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.ty

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Affected Packages1 packages

🔴Vulnerability Details

3
CVEList
Default mimetype known files writeable on Windows2025-02-14
OSV
CVE-2024-3220: There is a defect in the CPython standard library module “mimetypes” where on Windows the default list of known file locations are writable meaning ot2025-02-14
GHSA
GHSA-74p9-4v44-wwx5: There is a defect in the CPython standard library module “mimetypes” where on Windows the default list of known file locations are writable meaning ot2025-02-14

📋Vendor Advisories

3
Red Hat
python: Default mimetype known files writeable on Windows2025-02-14
Microsoft
Default mimetype known files writeable on Windows2025-02-11
Debian
CVE-2024-3220: python3.11 - There is a defect in the CPython standard library module “mimetypes” where on Wi...2024
CVE-2024-3220 — Untrusted Search Path | cvebase