Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 846 Bytes

2022-09-07-10-42-00.gh-issue-97514.Yggdsl.rst

File metadata and controls

15 lines (13 loc) · 846 Bytes

On Linux the multiprocessing module returns to using filesystem backed unix domain sockets for communication with the forkserver process instead of the Linux abstract socket namespace. Only code that chooses to use the "forkserver" start method <multiprocessing-start-methods> is affected.

Abstract sockets have no permissions and could allow any user on the system in the same network namespace (often the whole system) to inject code into the multiprocessing forkserver process. This was a potential privilege escalation. Filesystem based socket permissions restrict this to the forkserver process user as was the default in Python 3.8 and earlier.

This prevents Linux CVE-2022-42919.