Skip to content

Commit

Permalink
Update OSV records from CVE
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Sep 8, 2024
1 parent a940751 commit 53cdf6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions advisories/python/PSF-2024-3.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"modified": "2024-06-13T19:24:24.254Z",
"modified": "2024-09-07T02:44:36.613Z",
"published": "2024-05-07T21:02:55.284Z",
"schema_version": "1.5.0",
"id": "PSF-2024-3",
"aliases": [
"CVE-2024-4030"
],
"details": "On Windows a directory returned by tempfile.mkdtemp() would not always have permissions set to restrict reading and writing to the temporary directory by other users, instead usually inheriting the correct permissions from the default location. Alternate configurations or users without a profile directory may not have the intended permissions.\n\nIf you\u2019re not using Windows or haven\u2019t changed the temporary directory location then you aren\u2019t affected by this vulnerability. On other platforms the returned directory is consistently readable and writable only by the current user.\n\nThis issue was caused by Python not supporting Unix permissions on Windows. The fix adds support for Unix \u201c700\u201d for the mkdir function on Windows which is used by mkdtemp() to ensure the newly created directory has the proper permissions.\n",
"details": "On Windows a directory returned by tempfile.mkdtemp() would not always have permissions set to restrict reading and writing to the temporary directory by other users, instead usually inheriting the correct permissions from the default location. Alternate configurations or users without a profile directory may not have the intended permissions.\n\nIf you\u2019re not using Windows or haven\u2019t changed the temporary directory location then you aren\u2019t affected by this vulnerability. On other platforms the returned directory is consistently readable and writable only by the current user.\n\nThis issue was caused by Python not supporting Unix permissions on Windows. The fix adds support for Unix \u201c700\u201d for the mkdir function on Windows which is used by mkdtemp() to ensure the newly created directory has the proper permissions.",
"affected": [
{
"ranges": [
Expand Down

0 comments on commit 53cdf6b

Please sign in to comment.