Skip to content

Commit

Permalink
Reword NEWS for the bugfix/security release.
Browse files Browse the repository at this point in the history
(mentions the assigned CVE number)
  • Loading branch information
gpshead committed Dec 4, 2023
1 parent 9cc90e4 commit 41bef1f
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Fixed a performance regression in 3.12's :mod:`subprocess` on Linux where it
would no longer use the fast-path ``vfork()`` system call when it could have
due to a logic bug, instead falling back to the safe but slower ``fork()``.
would no longer use the fast-path ``vfork()`` system call when it should have
due to a logic bug, instead always falling back to the safe but slower ``fork()``.

Also fixed a second 3.12.0 potential security bug. If a value of
``extra_groups=[]`` was passed to :mod:`subprocess.Popen` or related APIs,
the underlying ``setgroups(0, NULL)`` system call to clear the groups list
would not be made in the child process prior to ``exec()``.
Also fixed a related 3.12 security regression: If a value of ``extra_groups=[]``
was passed to :mod:`subprocess.Popen` or related APIs, the underlying
``setgroups(0, NULL)`` system call to clear the groups list would not be made
in the child process prior to ``exec()``. This has been assigned CVE-2023-6507.

This was identified via code inspection in the process of fixing the first
bug.
This was identified via code inspection in the process of fixing the first bug.

0 comments on commit 41bef1f

Please sign in to comment.