{"answers":{"affected":"2 open source packages ship an affected version, including python and python-min.","exploited":"There is no known exploitation of CVE-2024-3220 in the wild and no public exploit code.","fix":"Upgrade python to 3.14.0 or later.","what":"CVE-2024-3220 is a low-severity path traversal vulnerability in CPython, published on 14 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-3220 and fix it if it is affected.\n\nWhat it is: CVE-2024-3220 is a low-severity path traversal vulnerability in CPython, published on 14 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-3220 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- python (Bitnami): affected all versions; fixed in 3.14.0\n- python-min (Bitnami): affected all versions; fixed in 3.14.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-3220/ (Markdown: https://insights.sbomify.com/CVE-2024-3220/index.md)","id":"CVE-2024-3220","markdown":"https://insights.sbomify.com/CVE-2024-3220/index.md","name":"CVE-2024-3220","record":{"aliases":["ALPINE-CVE-2024-3220","AZL-84266","BIT-python-2024-3220","BIT-python-min-2024-3220","GHSA-74p9-4v44-wwx5","MINI-2p8q-f6xf-mvgw","MINI-437j-9356-wfw5","MINI-8f6f-67cp-7prc","MINI-f737-g5qm-9555","MINI-p465-vffm-9g9p","PSF-2025-2"],"analysis":{"component_type":"library","fix_type":"workaround","impacts":["denial_of_service","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"low_privilege","summary":"Local attackers can write to default mimetype files on Windows, causing Python startup failures or incorrect file type interpretation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"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.\n\nThis 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”).\n\nTo 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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Default mimetype known files writeable on Windows","id":"CVE-2024-3220","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":2,"n_references":8,"next":{"headline":"SourceCodester PHP Task Management System attendance-info.php sql injection","id":"CVE-2024-3221"},"packages":[{"ecosystem":"Bitnami","fixed":["3.14.0"],"introduced":["0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2024-3220"},{"ecosystem":"Bitnami","fixed":["3.14.0"],"introduced":["0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2024-3220"}],"prev":{"headline":"Pure-Python fallback of socket.socketpair() doesn’t authenticate peer connection","id":"CVE-2024-3219"},"products":["CPython"],"published":"2025-02-14","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-26","vendors":["Python Software Foundation"]},"summary":"Local attackers can write to default mimetype files on Windows, causing Python startup failures or incorrect file type interpretation.","url":"https://insights.sbomify.com/CVE-2024-3220/"}