Skip to content

Commit 2ece75f

Browse files
committed
Update OSV records from CVE
1 parent 52754d8 commit 2ece75f

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎advisories/python/PSF-2025-2.json‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"modified": "2025-02-14T19:02:38Z",
3-
"published": "2025-02-14T16:18:00Z",
2+
"modified": "2026-10-14T18:47:10.926Z",
3+
"published": "2025-02-14T16:18:00.918Z",
44
"schema_version": "1.5.0",
55
"id": "PSF-2025-2",
66
"aliases": [
77
"CVE-2024-3220"
88
],
9-
"details": "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.",
9+
"details": "There is a defect in the CPython standard library module \u201cmimetypes\u201d 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 \u201c/etc/mime.types\u201d) also being used on Windows, where they are user-writable locations (\u201cC:\\etc\\mime.types\u201d).\n\nTo work-around this issue a user can call mimetypes.init() with an empty list (\u201c[]\u201d) on Windows platforms to avoid using the default list of known file locations.",
1010
"affected": [
1111
{
1212
"ranges": [
@@ -26,9 +26,13 @@
2626
{
2727
"type": "ADVISORY",
2828
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/"
29+
},
30+
{
31+
"type": "REPORT",
32+
"url": "https://github.com/python/cpython/issues/159428"
2933
}
3034
],
3135
"database_specific": {
3236
"cwe_ids": []
3337
}
34-
}
38+
}

0 commit comments

Comments
 (0)