Skip to content

Commit 1288fdc

Browse files
committed
2 parents 7e01002 + 83b6e18 commit 1288fdc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/whatsnew/3.11.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ os
902902
* As of 3.11.10, :func:`os.mkdir` and :func:`os.makedirs` on Windows
903903
now support passing a *mode* value of ``0o700`` to apply access
904904
control to the new directory. This implicitly affects
905-
:func:`tempfile.mkdtemp` and is a mitigation for :cve:`2024-4030`.
905+
:func:`tempfile.mkdtemp` and is a mitigation for CVE-2024-4030.
906906
Other values for *mode* continue to be ignored.
907907
(Contributed by Steve Dower in :gh:`118486`.)
908908

@@ -1068,7 +1068,7 @@ tempfile
10681068

10691069
* As of 3.11.10 on Windows, the default mode ``0o700`` used by
10701070
:func:`tempfile.mkdtemp` now limits access to the new directory due to
1071-
changes to :func:`os.mkdir`. This is a mitigation for :cve:`2024-4030`.
1071+
changes to :func:`os.mkdir`. This is a mitigation for CVE-2024-4030.
10721072
(Contributed by Steve Dower in :gh:`118486`.)
10731073

10741074

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
:func:`os.mkdir` on Windows now accepts *mode* of ``0o700`` to restrict
2-
the new directory to the current user. This fixes :cve:`2024-4030`
2+
the new directory to the current user. This fixes CVE-2024-4030
33
affecting :func:`tempfile.mkdtemp` in scenarios where the base temporary
44
directory is more permissive than the default.

0 commit comments

Comments
 (0)