Skip to content

Commit a6c9d0c

Browse files
committed
Update OSV records from CVE
1 parent d7fc432 commit a6c9d0c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"schema_version": "1.5.0",
3+
"id": "PSF-0000-CVE-2024-3220",
4+
"aliases": [
5+
"CVE-2024-3220"
6+
],
7+
"published": "2025-02-14T16:18:00.918Z",
8+
"modified": "2025-02-14T19:02:38.507Z",
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.",
10+
"affected": [
11+
{
12+
"ranges": [
13+
{
14+
"type": "GIT",
15+
"events": [
16+
{
17+
"introduced": "0"
18+
}
19+
],
20+
"repo": "https://github.com/python/cpython"
21+
}
22+
]
23+
}
24+
],
25+
"references": [
26+
{
27+
"type": "ADVISORY",
28+
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/CDXW34ND2LSAOYAR5N6UNONP4ZBX4D6R/"
29+
}
30+
],
31+
"database_specific": {
32+
"cwe_ids": []
33+
}
34+
}

0 commit comments

Comments
 (0)