{"schemaVersion":3,"id":"CVE-2024-3220","aliases":["CGA-39v7-whgm-gr76","CGA-625h-7724-3c4v","CGA-86gr-8vwf-6gvw","CGA-hj9w-gw2f-9p6p","CGA-hx5r-x682-9hw8","CGA-m25w-783f-97jw","CGA-p9mj-cj76-gp7v","CGA-prhm-5jjf-mx6j","CGA-q3wh-9xpc-hjfq","CGA-wjg3-vhgr-6mw6","CGA-5v83-464h-3vcf","CGA-xr5h-863h-w4m6"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-02-14T16:18:00.918Z","modified":"2026-10-17T00:43:11.717Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.3,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2.3,"severity":"low","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.3,"severity":"low","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00596,"percentile":0.47458,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.07499999999999998,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00521},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00596,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00596,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00596,"percentile":0.47458}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00596,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00596,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00596,"percentile":0.47458}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"chainguard","product":"python-3.10","name":"python-3.10","label":"python-3.10","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.10","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.11","name":"python-3.11","label":"python-3.11","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.11","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.12","name":"python-3.12","label":"python-3.12","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.12","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.13","name":"python-3.13","label":"python-3.13","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.13","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.14","name":"python-3.14","label":"python-3.14","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.14","purlType":"apk","versions":[{"text":"< 3.14.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.14.2-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"python-3.9","name":"python-3.9","label":"python-3.9","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/python-3.9","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.10","name":"python-3.10","label":"python-3.10","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.10","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.11","name":"python-3.11","label":"python-3.11","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.11","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.12","name":"python-3.12","label":"python-3.12","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.12","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.13","name":"python-3.13","label":"python-3.13","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.13","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"python-3.14","name":"python-3.14","label":"python-3.14","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/python-3.14","purlType":"apk","versions":[{"text":"< 3.14.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.14.2-r3","eol":null,"hubHref":null},{"vendor":"python software foundation","product":"cpython","name":"CPython","label":"cpython","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0","eol":null,"hubHref":"/vendor/python_software_foundation/cpython"}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/","label":"mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/","hostname":"mail.python.org","tags":["Vendor Advisory","Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/02/14/8","label":"www.openwall.com/lists/oss-security/2025/02/14/8","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0001/","label":"security.netapp.com/advisory/ntap-20250314-0001/","hostname":"security.netapp.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3220.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3220.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3220","label":"nvd.nist.gov/vuln/detail/CVE-2024-3220","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/python/cpython","label":"github.com/python/cpython","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/python/cpython/issues/159428","label":"github.com/python/cpython/issues/159428","hostname":"github.com","tags":["Issue Tracking"]},{"url":"https://github.com/python/cpython/commit/04a29bf8f9ff8526cd96cb7368400173303a390a","label":"github.com/python/cpython/commit/04a29bf8f9ff8526cd96cb7368400173303a390a","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/5550519259656cbb8eeac09e3dbc0d5c248a4dea","label":"github.com/python/cpython/commit/5550519259656cbb8eeac09e3dbc0d5c248a4dea","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/python/cpython/commit/76f4555c4ff10f5dda58d6528c17787df41e256c","label":"github.com/python/cpython/commit/76f4555c4ff10f5dda58d6528c17787df41e256c","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-28QX-265Q-HFHH","CGA-335J-RWGJ-885W","CGA-62CM-PJ6F-6398","CGA-7G2V-46VP-CQX6","CGA-FV8V-P8C2-574F","CGA-PC8F-JJ3H-V3G7","CGA-VPQW-FFHQ-5V5C","UBUNTU-CVE-2024-3220"]},"timeline":[{"kind":"published","date":"2025-02-14T16:18:00.918Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-17T00:43:11.717Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":9,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:24:39.719Z","stale":false,"partial":false}}